feat(bundler): create signature for .deb bundle (#11562)

This commit is contained in:
jLynx 2024-11-13 14:12:06 +13:00 committed by GitHub
parent dc4d794776
commit cccb308c7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,7 @@
---
'tauri-bundler': minor:feat
'tauri-cli': minor:feat
'@tauri-apps/cli': minor:feat
---
Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled.

View File

@ -151,6 +151,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
| PackageType::MacOsBundle
| PackageType::Nsis
| PackageType::WindowsMsi
| PackageType::Deb
)
} else {
matches!(package_type, PackageType::MacOsBundle)
@ -166,7 +167,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
// Self contained updater, no need to zip
matches!(
package_type,
PackageType::AppImage | PackageType::Nsis | PackageType::WindowsMsi
PackageType::AppImage | PackageType::Nsis | PackageType::WindowsMsi | PackageType::Deb
)
})
{

View File

@ -226,7 +226,11 @@ fn sign_updaters(
.filter(|bundle| {
matches!(
bundle.package_type,
PackageType::Updater | PackageType::Nsis | PackageType::WindowsMsi | PackageType::AppImage
PackageType::Updater
| PackageType::Nsis
| PackageType::WindowsMsi
| PackageType::AppImage
| PackageType::Deb
)
})
.collect();