Repository navigation
Publish GitHub Releases from v* tags - #1
Merged
Merged
Conversation
Add a Release workflow that checks the tag against the Cargo.toml version, builds fleetdeck for macOS (arm64, x86_64) and Linux (x86_64, arm64), packages each target with README and LICENSE, writes SHA256SUMS and creates the release with generated notes. PRs that change the workflow build and package without publishing. Drop the CI artifact job it replaces and document installing from a release, with the checksum check, and with cargo install.
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.
Summary
.github/workflows/release.yml. A pushedv*tag:v+ thefleetdeckversion in Cargo.toml,aarch64-apple-darwinandx86_64-apple-darwin(cross-compiled) onmacos-latest,x86_64-unknown-linux-gnuonubuntu-latestandaarch64-unknown-linux-gnuonubuntu-24.04-arm,fleetdeck-<version>-<target>.tar.gzwith the binary, README.md and LICENSE,SHA256SUMSand creates the GitHub Release with generated notes.release.ymlruns the version check, the builds and the packaging, but not the publish job. This PR runs it.releasejob fromci.yml. It only uploaded workflow artifacts, and the Release workflow replaces it.cargo install.Test plan
v0.1.0on the merge commit. Check that the Release has four archives andSHA256SUMS, and that the macOS arm64 binary runsfleetdeck --version.