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.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
release.sh: the placeholder check no longer exits silently when there are none (pipefail); release_script_beta fills the tree's placeholders in its sandbox and tests the stop
islandmed5084b982aecc
diff --git a/scripts/release.sh b/scripts/release.shindex 532c7295..c079b7ce 100755--- a/scripts/release.sh+++ b/scripts/release.sh@@ -220,7 +220,7 @@ words_ok() {die "docs/guide/whats-new.md has no '## Version $BASE'" "write that section at the top (Help > What's New shows it), commit, push main"# Numbers still waiting for a measurement are written {{NAME}}; none may ship.local ph- ph=$(grep -Hn '{{[A-Z0-9_]*}}' docs/guide/whats-new.md CHANGELOG.md changes/*.md ${HIGHLIGHTS:+"$HIGHLIGHTS"} 2>/dev/null | head -5)+ ph=$(grep -Hn '{{[A-Z0-9_]*}}' docs/guide/whats-new.md CHANGELOG.md changes/*.md ${HIGHLIGHTS:+"$HIGHLIGHTS"} 2>/dev/null | head -5 || true)[ -z "$ph" ] || die "unfilled placeholders: $ph" "put the measured numbers in (or drop those lines), commit, push main"[ "${1:-}" = bump ] || python3 tools/release/pin_whats_new_test.py "$BASE" --check >/dev/null ||die "tests/ui/whats_new.sfui isn't pinned to $BASE's What's New" "run step bump (it pins it): $(resume bump)"diff --git a/tests/release_beta_test.sh b/tests/release_beta_test.shindex 96ea97b3..cea70552 100755--- a/tests/release_beta_test.sh+++ b/tests/release_beta_test.sh@@ -16,7 +16,7 @@ export GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=safe.directory GIT_CONFIG_VALUE_0='*'S=$(mktemp -d)trap 'rm -rf "$S"' EXITfail() { echo "FAIL: $*" >&2; exit 1; }-quiet() { "$@" >"$S/out.log" 2>&1 || { cat "$S/out.log" >&2; fail "$* exited $?"; }; }+quiet() { "$@" >"$S/out.log" 2>&1 || { cat "$S/out.log" >&2; fail "$*"; }; }# --- the sandbox -----------------------------------------------------------------------------------------------------git clone -q --shared --no-checkout "$ROOT" "$S/repo"@@ -44,6 +44,9 @@ testers:- Windows, 150% scaling: open the beta test feature and try it.---EOF+# The real tree's What's New may still hold {{NAME}} placeholders for numbers not measured yet; this test is about the+# steps, so the sandbox fills them (the placeholder check itself is tested below).+sed -i 's/{{[A-Z0-9_]*}}/measured/g' docs/guide/whats-new.md CHANGELOG.mdgit add -A . && git commit -q -m "sandbox"git init -q --bare "$S/origin.git"git remote set-url origin "$S/origin.git"@@ -94,6 +97,10 @@ done# --- the beta ------------------------------------------------------------------------------------------------------start=$(git rev-parse HEAD)+echo 'placeholder: {{SOME_NUMBER}}' >>CHANGELOG.md && git commit -q -am placeholder+scripts/release.sh 9.0.0-beta.1 --only bump >"$S/out.log" 2>&1 && fail "bump passed with an unfilled placeholder"+grep -q 'unfilled placeholders: CHANGELOG.md' "$S/out.log" || fail "no placeholder stop: $(cat "$S/out.log")"+git reset -q --hard HEAD^quiet scripts/release.sh 9.0.0-beta.1 --only bumpgrep -q '^project(SculptForge VERSION 9.0.0 ' CMakeLists.txt || fail "beta bump: CMakeLists.txt is not at 9.0.0"grep -qx 'set(SCULPTFORGE_PRERELEASE "beta.1")' CMakeLists.txt || fail "beta bump: no prerelease beta.1"