Skip to content

ci: auto-incrementing release workflow - #12

Merged
turkosaurus merged 1 commit into
mainfrom
turk/release-workflow
Jun 28, 2026
Merged

ci: auto-incrementing release workflow#12
turkosaurus merged 1 commit into
mainfrom
turk/release-workflow

Conversation

@turkosaurus

Copy link
Copy Markdown
Contributor

Adds .github/workflows/release.yml: on every push to main, compute the next
semver tag from the latest existing tag and cut a GitHub release (with generated
notes) pointing at the merged commit.

  • Bump level: patch by default; put #minor or #major in the (squash)
    commit message to bump those. [skip release] skips.
  • Creates the tag via gh release create (GitHub API), so it's authored by the
    Actions bot — no tagger email-privacy issues.
  • concurrency: release serializes runs; tag creation doesn't push to main,
    so there's no trigger loop.

Note: merging this PR will itself produce the next release (v0.12.1) unless the
squash message includes [skip release]. v2+ majors would need the /vN module
path change in go.mod — only relevant if you ever #major past v1.

On every push to main, compute the next semver tag from the latest existing
tag and cut a GitHub release. Patch bump by default; "#minor"/"#major" in the
commit message bump those instead, and "[skip release]" skips.
@turkosaurus
turkosaurus merged commit bbbb1ed into main Jun 28, 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.

1 participant