Skip to content

Add manual-trigger Release workflow that attaches binaries to a tag - #5

Merged
vecnode merged 1 commit into
mainfrom
add-release-workflow
Jul 12, 2026
Merged

Add manual-trigger Release workflow that attaches binaries to a tag#5
vecnode merged 1 commit into
mainfrom
add-release-workflow

Conversation

@vecnode

@vecnode vecnode commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds distribute_cli.sh (Linux equivalent of distribute_cli.bat) and its run_cli_dist.sh.tmpl launcher template.
  • Adds .github/workflows/release.yml: builds release binaries for a given tag on ubuntu-latest + windows-latest, packages them the same way the local distribute_cli.* scripts do, and uploads the archive to that tag's GitHub Release via gh release upload.
  • Manual (workflow_dispatch) trigger only, matching ci.yml's philosophy - it takes the tag as an input rather than firing automatically on every tag push.

Test plan

  • Verified distribute_cli.bat still produces a working package locally (built vn.exe, ran --version, confirmed 0.1.0, cleaned up)
  • Confirmed the new .sh files are stored with LF line endings in git (checked via git cat-file), so they won't break on the Linux runner
  • Will dispatch this workflow against the existing v0.1.0 tag to validate the Linux path for real, then confirm both binaries land on the release

🤖 Generated with Claude Code

…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>
@vecnode
vecnode merged commit f8217b9 into main Jul 12, 2026
4 checks passed
@vecnode
vecnode deleted the add-release-workflow branch July 12, 2026 19:21
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.

1 participant