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:
Claude committed 2026-10-04 19:30:32 +00:00
1 parent ce83bbff26
commit 33010129ad
10 files changed
+44 -13

No files matched your search

+3 -2
View File
@@ -46,8 +46,9 @@ android {
minSdk = 29
targetSdk = 36
versionName = crateVersion
// major * 1000000 + minor * 1000 + patch (docs/release.md).
versionCode = crateVersion.split('.').map(String::toInt)
// major * 1000000 + minor * 1000 + patch (docs/release.md); a
// pre-release (0.0.1-alpha) counts as its version.
versionCode = crateVersion.substringBefore('-').split('.').map(String::toInt)
.let { (major, minor, patch) -> major * 1_000_000 + minor * 1_000 + patch }
}