Skip to content

ci(release): take the version from the tag - #42

Merged
XyleMora merged 1 commit into
mainfrom
ci/release/version/from/tag
Nov 9, 2026
Merged

XyleMora merged 1 commit into
mainfrom
ci/release/version/from/tag

Conversation

@XyleMora

@XyleMora XyleMora commented Nov 9, 2026

Copy link
Copy Markdown
Owner

tools/set_version.py writes a version into src-tauri/tauri.conf.json, Cargo.toml ([package]) and Cargo.lock (the kivi-desktop entry). On a v* tag every build job runs it before building, and the release job before making the source archive (git stash create keeps the branches untouched), so a release no longer needs the files bumped by hand; the old tag/version check is gone, and a tag that isn't a version fails early. Manual runs and local builds keep the repository's version.

tools/set_version.py writes a version into src-tauri/tauri.conf.json,
Cargo.toml ([package]) and Cargo.lock (the kivi-desktop entry). On a v* tag
every build job runs it before building, and the release job before making
the source archive (git stash create keeps the branches untouched), so a
release no longer needs the files bumped by hand; the old tag/version check
is gone, and a tag that isn't a version fails early. Manual runs and local
builds keep the repository's version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@XyleMora
XyleMora merged commit ca3f3b3 into main Nov 9, 2026
6 checks passed
@XyleMora
XyleMora deleted the ci/release/version/from/tag branch November 9, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant