Skip to content

Commit 67b8a9a

Browse files
authored
feat(cli): generate signatures for non-zipped targets with createUpdaterArtifacts: v1Compatible (#10940)
1 parent f57a729 commit 67b8a9a

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": "patch:enhance"
3+
---
4+
5+
Generate `.sig` signature files for installers and bundles when `createUpdaterArtifacts` is set to `v1Compatible`
6+

crates/tauri-cli/src/bundle.rs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,10 @@ fn sign_updaters(
225225
let update_enabled_bundles: Vec<&tauri_bundler::Bundle> = bundles
226226
.iter()
227227
.filter(|bundle| {
228-
if update_settings.v1_compatible {
229-
matches!(bundle.package_type, PackageType::Updater)
230-
} else {
231-
matches!(
232-
bundle.package_type,
233-
PackageType::Updater
234-
| PackageType::Nsis
235-
| PackageType::WindowsMsi
236-
| PackageType::AppImage
237-
)
238-
}
228+
matches!(
229+
bundle.package_type,
230+
PackageType::Updater | PackageType::Nsis | PackageType::WindowsMsi | PackageType::AppImage
231+
)
239232
})
240233
.collect();
241234

0 commit comments

Comments
 (0)