From 3a1f05bacf429e0fca99b212e05400f411f63808 Mon Sep 17 00:00:00 2001 From: bherbruck Date: Fri, 9 Oct 2026 17:05:03 +0000 Subject: [PATCH] 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 --- .github/release-notes.md | 3 +-- .github/workflows/release.yml | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/release-notes.md b/.github/release-notes.md index dad749aa..f78bac66 100644 --- a/.github/release-notes.md +++ b/.github/release-notes.md @@ -1,7 +1,6 @@ SolveCraft is an open-source parametric 3D CAD application in pure Rust: sketch on a plane, constrain and dimension the sketch, turn profiles into solids on a feature timeline, and change a -parameter to watch the timeline rebuild. This is a **pre-release**: it is early, and we'd like -your bug reports. +parameter to watch the timeline rebuild. It is early, and we'd like your bug reports. ## Fixed since v0.1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd480585..b55f9893 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/*