Release 0.0.1-alpha
The apps (voelin-ui, voelin-android) are 0.0.1-alpha; the gateway keeps its own version. A pre-release version broke three package builds, now handled: - Android: versionCode took "1-alpha" as a number (Gradle failed); it counts the version without the pre-release (0.0.1-alpha: 1). - Windows installer: VIProductVersion must be numeric; makensis refused "0.0.1-alpha.0". package.sh passes VERSION_NUMERIC (0.0.1). - Debian: "0.0.1-alpha" reads as revision "alpha" and sorts after 0.0.1; the package version is 0.0.1~alpha. Draft releases of such tags are marked as pre-releases (GitHub, Gitea). Changelog: the Unreleased section is 0.0.1-alpha, with myTeamSpeak sign-in, banners and a known issue. AppStream: the never-released 0.1.0 entry is the 0.0.1-alpha development release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
This commit is contained in:
10 files changed
+44
-13
No files matched your search
@@ -131,7 +131,7 @@ def main():
|
||||
release = request("GET", base + "/tags/" + quote(tag, safe=""), missing=True)
|
||||
if release is not_found:
|
||||
release = request("POST", base, payload={"tag_name": tag, "target_commitish": sha,
|
||||
"name": tag, "draft": True, "prerelease": False,
|
||||
"name": tag, "draft": True, "prerelease": "-" in tag,
|
||||
"body": "Packages and SHA256 checksums. Review before publishing."})
|
||||
if not isinstance(release, dict) or release.get("tag_name") != tag or release.get("draft") is not True:
|
||||
fail("refusing to modify a published or mismatched release")
|
||||
|
||||
Reference in new issue
Block a user