Skip to content

ci: publish Linux release binaries on version tags#3

Open
smartcoder0777 wants to merge 1 commit intounarbos:mainfrom
smartcoder0777:2-publish-pre-built-binaries-to-github-releases
Open

ci: publish Linux release binaries on version tags#3
smartcoder0777 wants to merge 1 commit intounarbos:mainfrom
smartcoder0777:2-publish-pre-built-binaries-to-github-releases

Conversation

@smartcoder0777
Copy link
Copy Markdown

Closes: #2

Summary
Adds a GitHub Actions workflow that builds the release binary and publishes it to GitHub Releases when a v* tag is pushed, so users can download a pre-built agcli instead of relying on CI artifacts (which expire and are less convenient than release assets).

Changes

  • Add .github/workflows/release.yml : trigger on v* tags, cargo build --release, attach agcli-linux-amd64 and SHA256SUMS, with generated release notes (softprops/action-gh-release).

How to release

  1. Bump version in Cargo.toml if needed and merge to main.
  2. git tag vX.Y.Z && git push origin vX.Y.Z

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.

Publish pre-built binaries to GitHub Releases

1 participant