Repository navigation
ci: a Release workflow that tags main with a version - #31
Merged
Merged
Conversation
A release is a version-named tag on main, and the tag has to be pushed by someone with a token that may create tags. The workflow lets a maintainer cut one from the Actions tab with the version, after checking it's well formed and not taken. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XfwUCp8GqHWUdTK7EhZCT5
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.
Requested by Arya · project thread
Before
A release is a version-named tag on
main, and only a maintainer's own token can push one. The GitHub App these sessions push through may createclaude/branches but not tags, so 0.1.0 couldn't be cut from here.After
A
Releaseworkflow in the Actions tab takes a version such as0.1.0, checks that it's well formed and not already tagged, and tagsmainwith it. The README says so. Once this is in, it gets run for 0.1.0, which readchek/app#4 and the README's install snippet depend on.How
One workflow with
contents: write, dispatched by hand. Tags pushed with the Actions token start no other workflows, which is fine here because nothing in this repository runs on tags.Checks
swift testpasses (no code changed)Generated by Claude Code