Auto-publish bugn.exe to GitHub Releases on master push and v* tags#7
Auto-publish bugn.exe to GitHub Releases on master push and v* tags#7somanysteves merged 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds automated publishing of the built bugn.exe artifact to GitHub Releases, enabling end users to download binaries directly from the Releases page after master pushes or version tag pushes.
Changes:
- Trigger CI on
v*tag pushes in addition to branch pushes. - Add a
releasejob that downloads thebugn-exeartifact and publishes it to GitHub Releases. - Publish a rolling
latestprerelease onmasterpushes and a normal, notes-generated release onv*tag pushes (guarded to only run insomanysteves/bug.n).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| uses: softprops/action-gh-release@v2 | ||
| with: |
There was a problem hiding this comment.
For supply-chain security, consider pinning this third-party action to a full commit SHA instead of the mutable @v2 tag (e.g., softprops/action-gh-release@<sha>). Using tags can silently pick up compromised or breaking changes in the future.
| uses: softprops/action-gh-release@v2 | ||
| with: |
There was a problem hiding this comment.
Same as above: pin softprops/action-gh-release to a specific commit SHA rather than @v2 to reduce supply-chain risk and ensure builds are reproducible.
Adds a release job that downloads the build artifact and publishes it: master pushes update a rolling "latest" pre-release in place (so the "Latest" badge stays on real versioned releases), and v* tag pushes cut a normal release with auto-generated notes. Repository guard prevents downstream forks from triggering releases. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bb28663 to
9b6e3c2
Compare
Summary
releasejob toci.ymlthat downloads the existingbugn-exeartifact and publishes it.latestpre-release in place (prerelease: true,make_latest: falseso the "Latest" badge stays with real versioned releases).v*tag push → cuts a normal release with auto-generated release notes.github.repository == 'somanysteves/bug.n') prevents downstream forks from triggering release publishes.End-user effect: people can grab
bugn.exefrom the Releases page without forking and building.Test plan
latestrelease withbugn.exeattached.v0.0.0-testtag to confirm versioned-release path; delete the tag/release after.make_latest: false).🤖 Generated with Claude Code