feat(cli): add Linux (.deb/.rpm) and Windows (Chocolatey) package builds - #304
Open
scouten-adobe wants to merge 4 commits into
Open
feat(cli): add Linux (.deb/.rpm) and Windows (Chocolatey) package builds#304scouten-adobe wants to merge 4 commits into
scouten-adobe wants to merge 4 commits into
Conversation
Add cargo-deb and cargo-generate-rpm metadata to cli/Cargo.toml and CI steps to build and upload .deb, .rpm, and .nupkg artifacts to GitHub releases. Add chocolatey/ package template. Update README installation section with Homebrew (macOS/Linux), Chocolatey, .deb, and .rpm instructions.
# Conflicts: # Cargo.toml
Adapts contentauth/c2pa-rs#2040's release-workflow changes for the standalone repo: - Adds Chocolatey/.deb/.rpm build+package steps to the existing per-OS release job, landing artifacts in dist/ alongside the zip/tar.gz+SBOM so the existing upload/release pipeline picks them up unchanged. - Fixes chocolatey/c2patool.nuspec and chocolatey/tools/chocolateyInstall.ps1, which still hardcoded contentauth/c2pa-rs URLs and the old c2patool-${version} tag naming -- now point at this repo and the real v${tag} asset names our own build produces. - Fixes README's package-install instructions to link this repo's own releases page instead of c2pa-rs's release-notes tag filter. - Fixes two latent breaks from the repo flattening that this workflow would have hit on its first real run: the Makefile's ../target/ paths (assumed a cli/ subdirectory that no longer exists) and this workflow's own cd cli && ... steps.
Collaborator
Author
|
Adapted contentauth/c2pa-rs#2040's release-workflow changes for this repo (commit 261e7cf):
This should be ready to merge; contentauth/c2pa-rs#2040 can likely be closed once it is. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add cargo-deb and cargo-generate-rpm metadata to Cargo.toml and CI steps to build and upload .deb, .rpm, and .nupkg artifacts to GitHub releases. Add chocolatey/ package template. Update README installation section with Homebrew (macOS/Linux), Chocolatey, .deb, and .rpm instructions.
Migrated from contentauth/c2pa-rs#2040 as part of the c2patool repo split. That PR also edits
.github/workflows/release.yml, which is c2pa-rs's shared multi-crate release orchestration and stays there -- everything else (Cargo.toml, README.md, chocolatey/) carried over here in full.