feat: Add release-drafter for automated release management - #2
Merged
Conversation
- Add .github/release-drafter.yml with v-prefixed tag template - Add workflow to run on push to main and workflow_dispatch - Configure version-resolver with major/minor/patch labels (default: patch) - Update README with release and version pinning information - First release will be v1.0.0 Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
cursor
Bot
force-pushed
the
cursor/add-release-drafter-5c2e
branch
from
August 23, 2026 20:39
fd497a5 to
3b7f8b1
Compare
- Add z-major-tagging.yml to automatically move major tags (v1) - When v1.2.3 is published, v1 tag is created/moved to point to it - Uses phwt/major-tagging-action@v1 - Updated README with detailed release management documentation Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
httpdss
marked this pull request as ready for review
August 23, 2026 21:02
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.
Changes
This PR adds automated release management to the struct-action repository, including release drafting and major version tagging for GitHub Action consumers.
What's included:
.github/release-drafter.yml: Configuration with v-prefixed tag template (v$RESOLVED_VERSION).github/workflows/release-drafter.yml: Workflow that runs on push to main and workflow_dispatchrelease-drafter/release-drafter@v7(pinned to major version)contents: writepermissionGITHUB_TOKENfor authentication.github/workflows/z-major-tagging.yml: Automatic major version tag managementphwt/major-tagging-action@v1to move/create major tagsv1.2.3is published, automatically updates thev1tag to point to itRelease Strategy
After this PR is merged:
v1tag will be automatically created/moved to point to itv1tagUser Experience
Action consumers can pin to:
@v1- Automatically gets minor and patch updates (recommended for most users)@v1.0.0- Pins to a specific versionExample usage:
The
v1tag will always point to the latest v1.x.x release, providing a stable API while allowing users to automatically receive bug fixes and new features.Testing
Once merged, pushing to main will trigger the release-drafter workflow and create a draft release with tag
vX.Y.Zbased on PR labels. When that release is published, the major-tagging workflow will automatically create/update thev1tag.