Skip to content

Commit

Permalink
feat(bundler): create signature for .deb bundle (#11562)
Browse files Browse the repository at this point in the history
  • Loading branch information
jLynx authored Nov 13, 2024
1 parent dc4d794 commit cccb308
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changes/deb-updater-support.md
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion crates/tauri-bundler/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
)
})
{
Expand Down
6 changes: 5 additions & 1 deletion crates/tauri-cli/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cccb308

Please sign in to comment.