Skip to content

ci: pin Tauri CLI 2.12.1 to match the locked tauri crate (SNB-684) - #49

Merged
setavenger merged 1 commit into
integrationfrom
snb-684-tauri-cli-pin
Oct 11, 2026
Merged

setavenger merged 1 commit into
integrationfrom
snb-684-tauri-cli-pin

Conversation

@setavenger

Copy link
Copy Markdown
Owner

Fixes SNB-684 (Bug).

What and why

.github/workflows/release.yml pinned TAURI_CLI_VERSION: 2.11.5, and its own comment says to keep that equal to the tauri version in Cargo.lock. Cargo.lock moved tauri to 2.12.1 in 8bf4c40, but the pin was not bumped with it.

The matching CLI is 2.12.1. In tauri-apps/tauri, the tags tauri-v2.12.1, tauri-cli-v2.12.1 and @tauri-apps/cli-v2.12.1 all point at the same release commit, 30da1fd. That release also contains tauri-utils-v2.10.1 and tauri-build-v2.7.1, which are the versions in our Cargo.lock. npm view @tauri-apps/cli versions lists 2.12.1.

Behaviour

Release bundles are now built by the CLI released with the tauri crate we compile against. No source or config changes; the comment stays true.

Verification

  • This PR changes release.yml, so the "Release bundles" workflow runs on it and builds the deb, AppImage, dmg and Windows bundles with CLI 2.12.1. That run is the check that matters.
  • Pre-push suite on this branch (the Rust tree is the same as integration): cargo check --workspace --all-targets --all-features 0 warnings; clippy -D warnings clean; fmt clean; cargo test --workspace 254 passed, 1 ignored, 0 failed.

release.yml pinned TAURI_CLI_VERSION 2.11.5, but Cargo.lock moved the
tauri crate to 2.12.1 in 8bf4c40, against the workflow's own rule to
keep the two equal. tauri 2.12.1 was released from the same commit
(30da1fd in tauri-apps/tauri) as tauri-cli and @tauri-apps/cli 2.12.1,
together with tauri-utils 2.10.1 and tauri-build 2.7.1, which are also
the versions in Cargo.lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@setavenger

Copy link
Copy Markdown
Owner Author

The Release bundles workflow passed with CLI 2.12.1 (run 37111418621): Linux deb/AppImage, macOS universal dmg and Windows msi/nsis. The .deb Depends of this build is libwebkit2gtk-4.1-0, libayatana-appindicator3-1, libayatana-appindicator3-1, libwebkit2gtk-4.1-0, libgtk-3-0. That is the same as before; #48 removes the duplicates.

@setavenger
setavenger merged commit a75e85c into integration Oct 11, 2026
5 checks passed
@setavenger
setavenger deleted the snb-684-tauri-cli-pin branch October 11, 2026 18:13
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