Skip to content

Allow manual release dispatch to create missing tags - #13

Merged
msdmazvoid merged 1 commit into
mainfrom
fix/release-workflow-manual-tag
Nov 10, 2026
Merged

msdmazvoid merged 1 commit into
mainfrom
fix/release-workflow-manual-tag

Conversation

@msdmazvoid

Copy link
Copy Markdown
Contributor

Summary

Fixes manual release dispatch so the workflow can create a missing release tag itself instead of failing during checkout.

Changes

  • Checkout no longer requests the requested tag before it exists.
  • A new resolve step checks out the tag when it exists.
  • For manual dispatch with a missing tag, the workflow builds the selected ref and creates the tag at that commit when publishing the release.
  • Tag pushes and published-release events still require the event tag to exist.
  • docs/releases.md documents both tag-push and manual-dispatch paths.

Verification

  • Release workflow YAML parsed successfully.
  • The existing v0.1.0 release and CI remain unaffected.

Check out the requested tag when it exists; otherwise build the selected ref and create the tag at that commit when publishing. This removes the manual-dispatch failure when the tag has not been pushed yet.
@msdmazvoid
msdmazvoid merged commit 1a6ebb1 into main Nov 10, 2026
2 checks passed
@msdmazvoid
msdmazvoid deleted the fix/release-workflow-manual-tag branch November 10, 2026 12:40
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