Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bundler): Add Debian package support for updater bundles #11562

Merged
merged 11 commits into from
Nov 13, 2024

Conversation

jLynx
Copy link
Contributor

@jLynx jLynx commented Nov 1, 2024

Description

This PR adds support for Debian (.deb) packages in the updater bundle system, allowing Debian packages to be included in the self-contained updater functionality alongside existing formats like AppImage, NSIS, and Windows MSI.

Note: This PR relies on tauri-apps/plugins-workspace#1991

Changes

  • Added PackageType::Deb to the list of self-contained updater package types
  • Modified the Linux bundler to handle both AppImage and Debian package formats
  • Extended the updater bundle functionality to create tar.gz archives for Debian packages
  • Updated signing functionality to include Debian packages
  • Fixed JSON formatting in schema documentation examples

Testing

I have tested the following scenarios:

  1. Building a Debian package with updater enabled
  2. Verifying the .deb archive creation for Debian packages
  3. Confirming the signing process works correctly for Debian packages
  4. Ensuring existing functionality for other package types remains unchanged

@jLynx jLynx requested a review from a team as a code owner November 1, 2024 03:12
@jLynx jLynx changed the title Add Debian package support for updater bundles feat(bundler): Add Debian package support for updater bundles Nov 1, 2024
@jLynx
Copy link
Contributor Author

jLynx commented Nov 3, 2024

Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add a change file in .changes directory?

Copy link
Contributor

github-actions bot commented Nov 12, 2024

Package Changes Through f528070

There are 7 changes which include tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.1.0 2.1.1
tauri-bundler 2.1.0 2.2.0
tauri-runtime 2.2.0 2.3.0
tauri-runtime-wry 2.2.0 2.3.0
tauri-codegen 2.0.3 2.0.4
tauri-macros 2.0.3 2.0.4
tauri-plugin 2.0.3 2.0.4
tauri-build 2.0.3 2.0.4
tauri 2.1.1 2.2.0
@tauri-apps/cli 2.1.0 2.2.0
tauri-cli 2.1.0 2.2.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@jLynx jLynx requested a review from amrbashir November 12, 2024 23:12
.changes/deb-updater-support.md Outdated Show resolved Hide resolved
.changes/deb-updater-support.md Outdated Show resolved Hide resolved
@jLynx jLynx requested a review from amrbashir November 13, 2024 00:24
@amrbashir amrbashir merged commit cccb308 into tauri-apps:dev Nov 13, 2024
14 checks passed
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.

2 participants