Add manual-trigger Release workflow that attaches binaries to a tag - #5
Merged
Conversation
…ting tag Adds distribute_cli.sh (Linux equivalent of distribute_cli.bat) and its run_cli_dist.sh.tmpl launcher template, then a new release.yml workflow that builds release binaries on ubuntu-latest and windows-latest for a given tag, packages them the same way the local distribute_cli.* scripts do, and uploads the resulting archive to that tag's GitHub Release via gh release upload. Manual (workflow_dispatch) trigger only, same as ci.yml - it takes the tag to build as an input rather than firing automatically on every tag push, so releasing binaries stays something explicitly requested. Verified distribute_cli.bat still produces a working package locally (built vn.exe, ran --version, confirmed 0.1.0, cleaned up); the Linux path will be exercised for real when the workflow is first dispatched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
distribute_cli.sh(Linux equivalent ofdistribute_cli.bat) and itsrun_cli_dist.sh.tmpllauncher template..github/workflows/release.yml: builds release binaries for a given tag onubuntu-latest+windows-latest, packages them the same way the localdistribute_cli.*scripts do, and uploads the archive to that tag's GitHub Release viagh release upload.workflow_dispatch) trigger only, matchingci.yml's philosophy - it takes the tag as an input rather than firing automatically on every tag push.Test plan
distribute_cli.batstill produces a working package locally (builtvn.exe, ran--version, confirmed0.1.0, cleaned up).shfiles are stored with LF line endings in git (checked viagit cat-file), so they won't break on the Linux runnerv0.1.0tag to validate the Linux path for real, then confirm both binaries land on the release🤖 Generated with Claude Code