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.sh: read whole pages in the live-site checks (grep -q closed the pipe early and curl failed under pipefail)

islandmed2a9bd05883a9
diff --git a/scripts/release.sh b/scripts/release.sh
index b5b5bff1..121d2563 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -210,9 +210,9 @@ PY
fi
# The Website workflow deploys main's site and the newest tag's guide; check what visitors get.
for _ in $(seq 40); do
- if curl -fsSL "https://sculptforge.app/latest.json?$(date +%s)" | grep -q "\"version\": \"$V\""; then
+ if curl -fsSL "https://sculptforge.app/latest.json?$(date +%s)" | grep "\"version\": \"$V\"" >/dev/null; then
ok "sculptforge.app/latest.json says $V"
- curl -fsSL "https://sculptforge.app/guide/whats-new.html?$(date +%s)" | grep -q "Version $V" ||
+ curl -fsSL "https://sculptforge.app/guide/whats-new.html?$(date +%s)" | grep "Version $V" >/dev/null ||
die "the live guide's What's New doesn't show $V" "gh workflow run pages.yml -R $REPO (it takes the guide from the newest tag), wait, run again"
ok "the live guide shows Version $V"
return