Skip to content

ci: add GitHub Release publishing for v* tags - #6

Merged
jtwolfe merged 1 commit into
rework/unifyfrom
cursor/github-release-publishing-472d
Aug 14, 2026
Merged

ci: add GitHub Release publishing for v* tags#6
jtwolfe merged 1 commit into
rework/unifyfrom
cursor/github-release-publishing-472d

Conversation

@jtwolfe

@jtwolfe jtwolfe commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Extends the CI workflow to automatically create GitHub Releases when v* tags are pushed, attaching the Linux binary and its SHA256 checksum.

Changes

  • New release job: Runs after successful build-linux job, only on v* tags
  • Job-level permissions: Uses contents: write only for the release job; the build job retains contents: read
  • Release assets:
    • mymesh-linux-x86_64 - the binary (renamed from artifact)
    • mymesh-linux-x86_64.sha256 - SHA256 checksum sidecar
  • Prerelease detection: Marks releases as prerelease if the tag contains alpha, beta, or rc
  • Auto-generated release notes: Uses GitHub's release notes generation

Workflow behavior

Trigger Build Release
Push to rework/unify
PR to rework/unify
v* tag

Asset naming

Matches existing releases (e.g., v0.1.0-alpha.3):

  • mymesh-linux-x86_64
  • mymesh-linux-x86_64.sha256

Testing

When a v* tag is pushed:

  1. Build job completes and uploads artifact
  2. Release job downloads artifact, renames to mymesh-linux-x86_64
  3. Generates SHA256 checksum
  4. Creates GitHub Release with both files attached
  5. If tag contains alpha/beta/rc, release is marked as prerelease
Open in Web Open in Cursor 

- Add release job that runs after successful linux build on v* tags
- Job-level contents:write permission (build job remains read-only)
- Create sha256 checksum sidecar file
- Mark releases as prerelease if tag contains alpha/beta/rc
- Use softprops/action-gh-release@v2 for release creation
- Asset names match existing releases: mymesh-linux-x86_64 + .sha256

Co-authored-by: jtwolfe <jtwolfe@users.noreply.github.com>
@jtwolfe
jtwolfe marked this pull request as ready for review August 14, 2026 03:05
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jtwolfe
jtwolfe merged commit 9c82ce8 into rework/unify Aug 14, 2026
1 check passed
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.

2 participants