ci: sync manifest versions to release tag; fix Cargo.lock drift - #13
Merged
Conversation
--locked builds (flatpak, release) abort: Cargo.toml is 0.1.7 but the lock still pins moon-translator 0.1.6.
gmcky
marked this pull request as ready for review
August 5, 2026 16:22
Collaborator
|
thanks! <3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The release workflow takes a version input (e.g. v1.0.6) and tags the GitHub
release with it, but the version baked into the built binaries came from
whatever was committed in the manifests. When the two drift, the release tag
and the app report different versions. It also broke CI right now: 0.1.7
landed in Cargo.toml but Cargo.lock still pinned 0.1.6, so every --locked
build (flatpak, release) aborts with "lock file needs to be updated".
Changes:
src-tauri/tauri.conf.json, src-tauri/Cargo.toml and src-tauri/Cargo.lock
from a single vX.Y.Z argument. Validates the tag and fails if any manifest
pattern is missing.
build job (linux, flatpak, windows), so binaries always match the release
tag. Adds a Node setup step to the flatpak job.
again. Going forward the script keeps the lock in step automatically.
so forks without the secret don't fail the release job.
Verify: