Skip to content

fix(ci): flag prerelease tags as GitHub pre-releases#4

Merged
ChrisonSimtian merged 1 commit into
mainfrom
fix/release-prerelease-flag
Jul 24, 2026
Merged

fix(ci): flag prerelease tags as GitHub pre-releases#4
ChrisonSimtian merged 1 commit into
mainfrom
fix/release-prerelease-flag

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

softprops/action-gh-release doesn't infer pre-release status from the tag, so the v7.0.0-preview.1 release came out marked as a full release. This sets prerelease: ${{ contains(github.ref_name, '-') }} so any tag with a SemVer prerelease suffix (e.g. v7.0.0-preview.1) is flagged as a GitHub pre-release, while stable tags (v7.0.0) stay full releases.

Touches only the hand-written publish.yml (the documented exception; the Fallout-generated build.yml is untouched).

softprops/action-gh-release doesn't infer pre-release status from the tag, so
v7.0.0-preview.1 was published as a full release. Set prerelease from whether the
tag name contains a SemVer prerelease suffix ('-'), so preview tags are flagged
and stable tags (v7.0.0) remain full releases.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ChrisonSimtian ChrisonSimtian added ci Continuous integration / build fix Bug fix labels Jul 24, 2026
@ChrisonSimtian
ChrisonSimtian merged commit c02d2ac into main Jul 24, 2026
1 check passed
@ChrisonSimtian
ChrisonSimtian deleted the fix/release-prerelease-flag branch July 24, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration / build fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant