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:
1 parent
ff30338646
commit
22c8623218
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")
|
||||
|
||||
+4
-2
@@ -69,7 +69,8 @@ make_deb() {
|
||||
EOF
|
||||
mkdir -p "$root/DEBIAN"
|
||||
{
|
||||
printf 'Package: %s\nVersion: %s\nArchitecture: %s\n' "$pkg" "$ver" "$deb_arch"
|
||||
# A pre-release sorts before its release in Debian with ~ (0.0.1~alpha).
|
||||
printf 'Package: %s\nVersion: %s\nArchitecture: %s\n' "$pkg" "${ver/-/\~}" "$deb_arch"
|
||||
printf 'Maintainer: Faumaray <23194470+Faumaray@users.noreply.github.com>\n'
|
||||
printf 'Section: net\nPriority: optional\nHomepage: %s\n' "$homepage"
|
||||
printf 'Depends: %s\n' "$depends"
|
||||
@@ -167,7 +168,8 @@ package_windows() {
|
||||
return
|
||||
fi
|
||||
# Absolute paths: makensis changes into the script's directory.
|
||||
"$makensis" -V2 -DVERSION="$version" -DOUTDIR="$(native_path "$out")" \
|
||||
"$makensis" -V2 -DVERSION="$version" -DVERSION_NUMERIC="${version%%-*}" \
|
||||
-DOUTDIR="$(native_path "$out")" \
|
||||
-DBINARY="$(native_path "$(cd "$bin" && pwd)/voelin.exe")" packaging/windows/installer.nsi
|
||||
files+=("voelin-$version-setup.exe")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user