Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

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

bherbruck3a1f05bacf42
diff --git a/.github/release-notes.md b/.github/release-notes.md
index dad749aa3d..f78bac6654 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 dd480585bb..b55f989373 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/*