Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

release.yml: restore the newline the beta version line swallowed (Locate tested packages failed with a bash syntax error)

islandmed73300de24dea
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c09f24b1..5782c9da 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -65,7 +65,8 @@ jobs:
echo "sha=$sha" >> "$GITHUB_OUTPUT"
version=$(sed -n 's/^project(SculptForge VERSION \([0-9.]*\).*/\1/p' CMakeLists.txt)
pre=$(sed -n 's/^set(SCULPTFORGE_PRERELEASE "\([^"]*\)")$/\1/p' CMakeLists.txt)
- version=$version${pre:+-$pre} # a beta: 0.11.0-beta.1 if [ "$DRY_RUN" = true ] && ! git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
+ version=$version${pre:+-$pre} # a beta: 0.11.0-beta.1
+ if [ "$DRY_RUN" = true ] && ! git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
# A dry run of a branch or commit: its packages are named for the version it carries.
echo "Dry run of $TAG ($sha), packages named v$version"
echo "tag=v$version" >> "$GITHUB_OUTPUT"