Release workflow: only a tag with a suffix (v0.2.0-rc1) is a pre-release; v0.1.1 notes no longer say pre-release

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bherbruckandClaude Opus 5.5 committed 2026-10-09 17:05:03 +00:00
1 parent 3966b8b3b9
commit 3a1f05bacf
2 files changed
+4 -4

No files matched your search

+3 -2
View File
@@ -1,6 +1,6 @@
# Release builds: push a tag `v*` (or run it by hand with a tag name) and this builds the desktop
# app and the CLI for Linux, Windows and macOS plus the web app, and attaches them to a GitHub
# release (a pre-release while the version is 0.x) with SHA256SUMS. Notes:
# release with SHA256SUMS (a pre-release when the tag has a suffix, such as v0.2.0-rc1). Notes:
# .github/release-notes.md.
name: Release
@@ -132,5 +132,6 @@ jobs:
tag_name: ${{ env.TAG }}
name: SolveCraft ${{ env.TAG }}
body_path: .github/release-notes.md
prerelease: ${{ startsWith(env.TAG, 'v0.') }}
# A tag with a suffix (v0.2.0-rc1) is a pre-release; v1.2.3 is a normal release.
prerelease: ${{ contains(env.TAG, '-') }}
files: assets/*