chore(release): bump to 0.2.1 and check the version at release time

This commit is contained in:
Kurt Himebauch committed 2026-09-28 11:52:02 +00:00
1 parent ce5f2f5513
commit 78bdc0e3b5
3 files changed
+10 -4

No files matched your search

+4 -2
View File
@@ -79,8 +79,10 @@ jobs:
}
stable=$(package_line "$RUNNER_TEMP/stable/DroidDeck-$stable_tag.apk")
candidate=$(package_line "${apks[0]}")
[[ "$stable" =~ ^com\.droiddeck\.launcher\ [0-9]+$ && "$candidate" == "$stable" ]] || {
echo "::error::PR package/versionCode '$candidate' differs from stable '$stable'"; exit 1;
# Same package, and a versionCode no lower than stable's, so the APK installs over it.
[[ "$stable" =~ ^com\.droiddeck\.launcher\ [0-9]+$ && "$candidate" =~ ^com\.droiddeck\.launcher\ [0-9]+$ &&
${candidate##* } -ge ${stable##* } ]] || {
echo "::error::PR package/versionCode '$candidate' cannot install over stable '$stable'"; exit 1;
}
current=$(gh api "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER")