From 24c429e8b9c41d05ce80804fda22a3d8c5454613 Mon Sep 17 00:00:00 2001 From: meowarex Date: Tue, 11 Aug 2026 17:58:37 +0000 Subject: [PATCH] 1.0 Hotfix Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/release.yml | 6 +++++- .version | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f647357..685e5cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,12 @@ jobs: - uses: actions/checkout@v4 - id: set run: | + # .version now holds the full semver (e.g. 1.0.0) and is bumped per release. + # It used to be a "0.3" prefix with github.run_number appended as the patch, + # which cannot express an exact 1.0.0. versionCode still tracks run_number, + # so it stays monotonic regardless of what versionName says. BASE=$(cat .version | tr -d '[:space:]') - echo "version=$BASE.${{ github.run_number }}" >> $GITHUB_OUTPUT + echo "version=$BASE" >> $GITHUB_OUTPUT Build: needs: Version diff --git a/.version b/.version index be58634..3eefcb9 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.3 +1.0.0