Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/fix-no-sign-option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
tauri-cli: patch:bug
---

Fixed an issue that caused the cli to error out with missing private key, in case the option `--no-sign` was requested and the `tauri.config` has signing key set and the plugin `tauri-plugin-updater` is used.

5 changes: 5 additions & 0 deletions crates/tauri-cli/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ fn sign_updaters(
return Ok(());
}

if settings.no_sign() {
log::warn!("Updater signing is skipped due to --no-sign flag.");
return Ok(());
}

// get the public key
let pubkey = &update_settings.pubkey;
// check if pubkey points to a file...
Expand Down
Loading