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.

Betas are members-only: release.sh beta path and release.yml publish to the private members' repository and post in #members; no public pre-release or feed entry

islandmed23dd0eac7710
diff --git a/.github/workflows/insider-preview.yml b/.github/workflows/insider-preview.yml
index 0418940a..fea564b2 100644
--- a/.github/workflows/insider-preview.yml
+++ b/.github/workflows/insider-preview.yml
@@ -1,7 +1,8 @@
-name: Insider preview
+name: Members early build
-# Insider preview builds: the next release's packages, about a week early, as a prerelease in the private repository
-# islandmed/sculptforge-insiders (Insider and Studio members are invited to it), announced in #insiders on Discord.
+# Members' early builds: the next release's packages, early, as a prerelease in the private repository
+# islandmed/sculptforge-insiders (Member and Studio members are invited to it), announced in #members on Discord.
+# (Betas, X.Y.Z-beta.N, go there through release.yml; this one shares any commit in between.)
#
# Run workflow with a version label (e.g. 0.10.8-preview.1) and an optional ref (default main).
# push to a preview/* branch; the label is the project version plus "-preview.<run number>".
@@ -16,7 +17,7 @@ name: Insider preview
# "Only select repositories: islandmed/sculptforge-insiders", repository permission
# Contents: Read and write (Metadata: Read-only is added by GitHub). Nothing else: it
# can't touch this repository or any other.
-# DISCORD_INSIDERS_WEBHOOK a webhook of the private #insiders channel (Channel settings > Integrations).
+# DISCORD_MEMBERS_WEBHOOK a webhook of the private #members channel (Channel settings > Integrations).
# Only publish sees them. The public release stays free for everyone; this only shares builds earlier. Bug-fix and
# security releases go out to everyone the same day through release.yml, never through here.
@@ -129,23 +130,23 @@ jobs:
SOURCE: ${{ github.repository }}
run: |
cat > notes.md <<EOF
- SculptForge ${TAG#v}, an Insider preview of the next release (commit ${SHA::7} of $SOURCE).
- The same packages and tests as a public release. Please report problems in #insiders or on GitHub.
+ SculptForge ${TAG#v}, a members' early build of the next release (commit ${SHA::7} of $SOURCE).
+ The same packages and tests as a public release. Please report problems in #members or on GitHub.
Every release stays free for everyone; bug-fix and security releases go out to everyone the same day.
EOF
repo=islandmed/sculptforge-insiders
gh release view "$TAG" --repo "$repo" >/dev/null 2>&1 ||
- gh release create "$TAG" --repo "$repo" --prerelease --title "SculptForge ${TAG#v} (Insider preview)" \
+ gh release create "$TAG" --repo "$repo" --prerelease --title "SculptForge ${TAG#v} (members' early build)" \
--notes-file notes.md
gh release upload "$TAG" dist/* --repo "$repo" --clobber
- - name: Post to #insiders
+ - name: Post to #members
env:
- WEBHOOK: ${{ secrets.DISCORD_INSIDERS_WEBHOOK }}
+ WEBHOOK: ${{ secrets.DISCORD_MEMBERS_WEBHOOK }}
run: |
- if [ -z "$WEBHOOK" ]; then echo "No DISCORD_INSIDERS_WEBHOOK secret: skipped"; exit 0; fi
+ if [ -z "$WEBHOOK" ]; then echo "No DISCORD_MEMBERS_WEBHOOK secret: skipped"; exit 0; fi
url="https://github.com/islandmed/sculptforge-insiders/releases/tag/$TAG"
- jq -n --arg c "**SculptForge ${TAG#v} preview is up** for Insiders: $url" \
+ jq -n --arg c "**SculptForge ${TAG#v} early build is up** for members: $url" \
'{content: $c, allowed_mentions: {parse: []}}' |
curl -fsS -H 'Content-Type: application/json' -d @- "$WEBHOOK" >/dev/null
- echo "Posted to #insiders"
+ echo "Posted to #members"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3d9b517d..7a11b3c3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,7 +11,10 @@ name: Release
# smoke every package installed or unpacked on a fresh runner: the app opens a model and sculpts
# (tests/ui/release_smoke.sfui), sculptforge-cli opens, sculpts, saves and reopens (tests/release_smoke.py).
# publish only after every smoke test passed: checksums, notes from CHANGELOG.md, the GitHub release. A tag with
-# a '-' (a beta) is published as a pre-release, never marked latest, with CHANGELOG's [Unreleased] notes.
+# a '-' (a beta) is a member perk: published as a pre-release in the private repository
+# islandmed/sculptforge-insiders (INSIDERS_REPO_TOKEN: a fine-grained token for that repository only,
+# Contents: read and write) with CHANGELOG's [Unreleased] notes, and posted in #members
+# (DISCORD_MEMBERS_WEBHOOK). Nothing public: no release here, no update feed entry.
#
# Only publish holds a token that can write (contents: write); every other job reads. Build and smoke jobs take their
# runner from the SF_RUNNER_* repository variables (standard GitHub runners when unset); locate and publish always run
@@ -276,15 +279,18 @@ jobs:
section=${TAG#v}
if [[ "$TAG" == *-* ]]; then # a beta: what has changed since the stable release
section=Unreleased
- printf '%s\n\n' "**Beta for testers.** Please report problems in the Discord's #bug-reports (or a GitHub issue) with your OS, this version (Help > About) and your graphics card. Preferences > Updates > Update channel: Preview offers the next betas." > notes.md
+ printf '%s\n\n' "**Members' beta.** Thank you for being a member! Please report problems in #members on Discord (or a GitHub issue) with your OS, this version (Help > About) and your graphics card." > notes.md
fi
awk -v h="## [$section]" 'index($0, h) == 1 {flag=1;next} /^## \[/{flag=0} flag' CHANGELOG.md >> notes.md
cat packaging/release-notes-footer.md >> notes.md
- name: Create or update the release
env:
GH_TOKEN: ${{ github.token }}
+ INSIDERS_TOKEN: ${{ secrets.INSIDERS_REPO_TOKEN }}
run: |
- if [[ "$TAG" == *-* ]]; then # v0.11.0-beta.1: "SculptForge 0.11.0 Beta 1", a pre-release, not latest
+ if [[ "$TAG" == *-* ]]; then # v0.11.0-beta.1: "SculptForge 0.11.0 Beta 1", members only, a pre-release
+ [ -n "$INSIDERS_TOKEN" ] || { echo "::error::No INSIDERS_REPO_TOKEN secret: a beta is published only in islandmed/sculptforge-insiders"; exit 1; }
+ export GH_TOKEN=$INSIDERS_TOKEN GH_REPO=islandmed/sculptforge-insiders
pre=${TAG#*-}
title="SculptForge ${TAG%%-*} $(sed -E 's/^rc/RC/; s/^./\U&/; s/\./ /g' <<<"$pre")"
gh release view "$TAG" >/dev/null 2>&1 ||
@@ -293,3 +299,17 @@ jobs:
gh release view "$TAG" >/dev/null 2>&1 || gh release create "$TAG" --title "SculptForge ${TAG#v}" --notes-file notes.md
fi
gh release upload "$TAG" dist/* --clobber
+ - name: Post a beta in #members
+ if: contains(env.TAG, '-')
+ env:
+ WEBHOOK: ${{ secrets.DISCORD_MEMBERS_WEBHOOK }}
+ run: |
+ if [ -z "$WEBHOOK" ]; then echo "::warning::No DISCORD_MEMBERS_WEBHOOK secret: post the beta in #members by hand"; exit 0; fi
+ pre=${TAG#*-}
+ label="${TAG%%-*} $(sed -E 's/^rc/RC/; s/^./\U&/; s/\./ /g' <<<"$pre")"
+ url="https://github.com/islandmed/sculptforge-insiders/releases/tag/$TAG"
+ jq -n --arg c "**SculptForge ${label#v} is up for members:** $url
+ Please report anything that goes wrong here, with your OS and graphics card. Not invited to the repository yet? Reply with your GitHub username." \
+ '{content: $c, allowed_mentions: {parse: []}, flags: 4}' |
+ curl -fsS -H 'Content-Type: application/json' -d @- "$WEBHOOK" >/dev/null
+ echo "Posted to #members"
diff --git a/changes/feat-membership-simple.md b/changes/feat-membership-simple.md
new file mode 100644
index 00000000..4bea39fb
--- /dev/null
+++ b/changes/feat-membership-simple.md
@@ -0,0 +1,16 @@
+---
+whats_new: **Membership, simplified**: two memberships instead of four. **Member** ($5 a month or $48 a year) gets
+ betas and early builds, the monthly feature vote, a brush and alpha pack every month, #members and a name in the
+ credits; **Studio** ($150 a month) covers up to 10 artists, with priority support and a private channel. Help >
+ Support SculptForge... shows both. Every release stays free for everyone.
+changed: Memberships: Member ($5 / month or $48 / year) and Studio ($150 / month, up to 10 artists) replace
+ Supporter, Insider, Studio and the one-time payment, on the website, in the support card, the Quick tour, the
+ welcome note, the update banner ("Members get betas early") and the guide.
+changed: Betas are a member perk: `X.Y.Z-beta.N` is published in the private members' repository and posted in
+ #members, not as a public pre-release or on the update feed's Preview channel (scripts/release.sh, release.yml).
+testers:
+ - Any OS: Edit > Preferences > Support > Show the support card: two cards (Member, Studio); Become a member and
+ Studio membership open the checkout; nothing overlaps at 100% and 150% UI scale.
+ - Phone and desktop browser: sculptforge.app/support.html shows two cards, readable, no sideways scrolling.
+---
+Stripe changes are the maintainer's (steps in REPORT.md); the links are placeholders until then.
diff --git a/docs/design/release-train.md b/docs/design/release-train.md
index dc30d0f7..fc6de22d 100644
--- a/docs/design/release-train.md
+++ b/docs/design/release-train.md
@@ -38,11 +38,10 @@ opens the download page (no download or install from the app: that would be new
**Release script.** `scripts/release.sh X.Y.Z-rc.N` runs the same steps minus site/AUR/brew/Omarchy, and step
`status` writes `channels.preview`. The nightly job writes `channels.nightly` through the Pages workflow.
-**Insiders.** Insider builds (private sculptforge-insiders repo) stay separate from Preview: the public wording is
-"Insiders will get each release about two weeks early, starting with SculptForge 1.0." Before 1.0, Preview is the
-public release candidate. Open question: from 1.0 on, is Preview for Insiders only (then the channel shows
-only to signed-in members, which needs an account check: not before the maintainer decides), or public with Insiders getting
-features two weeks earlier through feature flags (section 2)?
+**Members.** Since 0.11.1 betas are a member perk (maintainer decision, November 2026): `X.Y.Z-beta.N` is published only in the
+private sculptforge-insiders repository and posted in #members (docs/releasing.md, "Betas"); the update feed's Preview
+channel is no longer written for betas. Public wording: members get betas and early builds; from SculptForge 1.0,
+each release about two weeks early.
## 2. Feature flags
diff --git a/docs/releasing.md b/docs/releasing.md
index f2519b20..ac6aba6c 100644
--- a/docs/releasing.md
+++ b/docs/releasing.md
@@ -98,41 +98,40 @@ tagging.
Scripting rule: under `set -o pipefail`, never end a pipe with `grep -q` or `head` (they close the pipe early and the
writer fails); capture to a variable or file first, or let grep read everything (`grep ... >/dev/null`).
-## Betas (the Preview channel)
+## Betas (members only)
-A beta is the next release, published early for testers (docs/design/release-train.md §1). The first one is 0.11.0
-Beta 1, cut after stable 0.10.11 ships.
+A beta is the next release, published early for members (Member and Studio; docs/design/release-train.md §1). Since
+0.11.1 betas are not public: they go to the private repository islandmed/sculptforge-insiders, and members are invited
+to it by hand with the GitHub username they gave at checkout.
```sh
-HIGHLIGHTS=highlights.txt scripts/release.sh 0.11.0-beta.1 --yes # a beta (also 0.11.0-rc.1)
-HIGHLIGHTS=highlights.txt scripts/release.sh 0.11.0 --yes # later: the stable release, on main as it is then
+scripts/release.sh 0.12.0-beta.1 --yes # a beta (also 0.12.0-rc.1)
+HIGHLIGHTS=highlights.txt scripts/release.sh 0.12.0 --yes # later: the stable release, on main as it is then
+gh api -X PUT repos/islandmed/sculptforge-insiders/collaborators/USERNAME -f permission=pull # a new member
```
-Steps for a beta: `bump check ci tag release preview status`.
+Steps for a beta: `bump check ci tag release status`.
-- **bump** writes the note fragments into CHANGELOG `[Unreleased]` and What's New `0.11.0` (date stays `unreleased`), and
- saves their testers bullets to `release-testers-0.11.0-beta.1.md` first. It sets CMakeLists.txt to
- `VERSION 0.11.0` and `set(SCULPTFORGE_PRERELEASE "beta.1")`. The app reads "0.11.0 Beta 1" in the title bar and
- About; packages are named `SculptForge-0.11.0-*`. CITATION, rez, metainfo, the CHANGELOG section and the home page
+- **bump** writes the note fragments into CHANGELOG `[Unreleased]` and What's New `0.12.0` (date stays `unreleased`), and
+ saves their testers bullets to `release-testers-0.12.0-beta.1.md` first. It sets CMakeLists.txt to
+ `VERSION 0.12.0` and `set(SCULPTFORGE_PRERELEASE "beta.1")`. The app reads "0.12.0 Beta 1" in the title bar and
+ About; packages are named `SculptForge-0.12.0-*`. CITATION, rez, metainfo, the CHANGELOG section and the home page
stay at the stable release (`build_site.py` leaves the home page alone while a prerelease is set).
-- **check** checks CMakeLists.txt (version and prerelease), the guide and the DPI tests. A beta skips the
- site/AUR/Homebrew/Omarchy checks.
-- **tag / release**: `v0.11.0-beta.1`. release.yml checks that the tag equals the version plus the prerelease. It
- publishes a GitHub **pre-release**, never marked latest, so `releases/latest/download/...` and the site stay on
- stable. The notes are CHANGELOG `[Unreleased]` with a line on how to send feedback.
-- **preview** writes `channels.preview` (version, the release's link, the highlights) into website/latest.json. The
- stable top level is unchanged, so old apps and the Stable channel see nothing new. Apps whose
- Preferences > Updates > Update channel is **Preview** are offered the beta (a beta build starts on Preview).
-- **Discord**: discord-announce.yml posts "SculptForge 0.11.0 Beta 1 is out for testing" in #announcements once the
- feed names it. The post has the highlights, the download link and how to send feedback (#bug-reports, with OS,
- version and hardware).
-- **status** prints the release link, the testers checklist (post it in #testers) and the promote command.
-- No site, AUR, Homebrew, Omarchy, winget or issue replies for a beta.
+- **check** checks CMakeLists.txt (version and prerelease), the guide, the DPI tests, that the repository has the
+ `INSIDERS_REPO_TOKEN` secret and that gh can see the private repository. A beta skips the site/AUR/Homebrew/Omarchy
+ checks.
+- **tag / release**: `v0.12.0-beta.1` (the tag is public, like the source). release.yml checks that the tag equals the
+ version plus the prerelease, then publishes a **pre-release in islandmed/sculptforge-insiders** with
+ `INSIDERS_REPO_TOKEN` (a fine-grained token for that repository only, Contents: read and write), and posts it in
+ #members (`DISCORD_MEMBERS_WEBHOOK`). Nothing is published in the public repository, and the update feed is
+ untouched: the app's Preview channel offers only what the feed names.
+- **status** prints the private release link, the invite command and the testers checklist (post it in #members).
+- No site, feed, AUR, Homebrew, Omarchy, winget or issue replies for a beta.
**Promoting** is the normal stable release of `0.11.0`. Its bump clears `SCULPTFORGE_PRERELEASE`, so it is a new commit
-after the beta's. Step `site` removes the `channels.preview` entry the stable release has caught up with. In the
+after the beta's. Step `site` removes any older `channels.preview` entry (from the public betas before 0.11.1). In the
app, Preview never offers anything older than stable. The beta's tag doesn't get in the way: stable releases take
-the guide from the newest tag without a `-` (pages.yml). A second beta is `0.11.0-beta.2`.
+the guide from the newest tag without a `-` (pages.yml). A second beta is `0.12.0-beta.2`.
## When a step fails
diff --git a/scripts/release.sh b/scripts/release.sh
index 707ecac4..6e14ace2 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -10,8 +10,8 @@
# scripts/release.sh X.Y.Z --only bump --staged the bump commit only, not pushed: the merger puts it on top of
# the release batch (RELEASE=X.Y.Z ~/Work/.sf/merge-batch.sh), so `staging` builds the packages of
# the exact commit to tag while CI runs, and the release later only smoke-tests and publishes them
-# HIGHLIGHTS=f scripts/release.sh X.Y.Z-beta.N --yes a beta (also -rc.N): a GitHub pre-release for testers, offered
-# only to apps on the Preview update channel (see "Betas" below and docs/releasing.md)
+# scripts/release.sh X.Y.Z-beta.N --yes a beta (also -rc.N): a members-only pre-release in the private repository
+# islandmed/sculptforge-insiders, announced in #members (see "Betas" below and docs/releasing.md)
# HIGHLIGHTS=file the update feed's 3-5 highlight lines, one per line (default: the version's highlight: lines in
# What's New and the note fragments, tools/release/assemble_notes.py X.Y.Z --highlights)
# (the home page's What's New area is written by tools/guide/build_site.py from docs/guide/whats-new.md: the
@@ -23,17 +23,19 @@
# Each step looks at the live state first and skips what is already done, so running it again is always safe.
# When something is wrong it stops and prints the fix; fix it, then run again with --from <that step>.
# It never posts issue replies: it writes drafts for a person to read and post.
-# Betas: steps bump check ci tag release preview status. bump sets CMakeLists.txt to X.Y.Z with
+# Betas (a member perk): steps bump check ci tag release status. bump sets CMakeLists.txt to X.Y.Z with
# SCULPTFORGE_PRERELEASE "beta.N" (the app says "X.Y.Z Beta N"; CHANGELOG, CITATION, metainfo and the home page stay
-# at the stable release); preview writes channels.preview in website/latest.json (the stable top level is untouched);
-# the Discord announcement workflow posts the beta once the feed names it. No site, AUR, Homebrew, Omarchy, winget or
-# issue replies. The stable release later is plain scripts/release.sh X.Y.Z, which clears the prerelease.
+# at the stable release). release.yml publishes the beta in the private repository $INSIDERS_REPO (members are
+# invited by hand) and posts it in #members; nothing public: no GitHub pre-release here, no update feed entry, no
+# site, AUR, Homebrew, Omarchy, winget or issue replies. The stable release later is plain scripts/release.sh X.Y.Z,
+# which clears the prerelease.
# Needs: gh logged in as islandmed (gh auth status), git, curl, python3, sha256sum (or shasum); run it from a clean
# checkout of main. Pushes to main and the tag are made here, so only the release coordinator runs it, after
# the owner's "ship it" for this version.
set -euo pipefail
REPO=islandmed/SculptForge
+INSIDERS_REPO=islandmed/sculptforge-insiders # members' betas (release.yml publishes there with INSIDERS_REPO_TOKEN)
AUTHOR_NAME=islandmed
[email protected] # never a personal address in outside repos
OMARCHY_PR=1800
@@ -62,7 +64,8 @@ V=${1:-}
[[ "$V" =~ ^([0-9]+\.[0-9]+\.[0-9]+)(-((beta|rc)\.[0-9]+))?$ ]] ||
{ echo "usage: scripts/release.sh X.Y.Z[-beta.N|-rc.N] [--from STEP | --only STEP] [--yes] [--staged]"; exit 2; }
BASE=${BASH_REMATCH[1]} PRE=${BASH_REMATCH[3]} # 0.11.0-beta.1: BASE 0.11.0, PRE beta.1; a stable release: PRE ""
-[ -z "$PRE" ] || STEPS=(bump check ci tag release preview status)
+[ -z "$PRE" ] || STEPS=(bump check ci tag release status)
+RELEASE_REPO=$REPO; [ -z "$PRE" ] || RELEASE_REPO=$INSIDERS_REPO # where release.yml publishes this version
shift
FROM=bump ONLY= STAGED=
while [ $# -gt 0 ]; do
@@ -74,6 +77,7 @@ while [ $# -gt 0 ]; do
*) echo "unknown argument $1"; exit 2 ;;
esac
done
+[[ " ${STEPS[*]} " == *" ${ONLY:-$FROM} "* ]] || { echo "unknown step ${ONLY:-$FROM}; steps: ${STEPS[*]}"; exit 2; }
[ -z "$STAGED" ] || [ "$ONLY" = bump ] || { echo "--staged goes with --only bump (the later steps run on main after it lands)"; exit 2; }
T=v$V
TODAY=$(date +%F)
@@ -96,7 +100,7 @@ push_main() {
gitp push -q origin HEAD:main || die "push to main refused" "git pull --rebase origin main, check the result, run again"
}
release_ready() {
- gh release view "$T" -R "$REPO" --json assets -q '.assets[].name' > "$work/assets" 2>/dev/null ||
+ gh release view "$T" -R "$RELEASE_REPO" --json assets -q '.assets[].name' > "$work/assets" 2>/dev/null ||
die "no GitHub release $T yet" "run the earlier steps: scripts/release.sh $V --from tag"
grep -qx SHA256SUMS.txt "$work/assets" || die "release $T has no SHA256SUMS.txt (unfinished)" "re-run the Release workflow: gh workflow run release.yml -R $REPO -f tag=$T"
}
@@ -175,9 +179,7 @@ gh_file() { gh api "repos/$1/contents/$2${3:+?ref=$3}" -q .content 2>/dev/null |
card_ok() { grep -qF "<small>new in $V</small>" website/index.html && grep -qF "class=\"section-lede\">New in $V:" website/index.html; }
features_ok() { awk -v v="## Version $BASE" '$0==v{f=1;next} f&&/^## /{exit} f' docs/guide/whats-new.md | grep -q '^tagline: .'; }
card_fix="give '## Version $V' in docs/guide/whats-new.md a \`\`\`features block (date: unreleased, tagline: ..., highlight: ..., cards), commit, push main, run again"
-feed_done() { grep -qF "\"version\": \"$V\"" website/latest.json; } # (a beta's is in channels.preview)
-# A beta's entry in the update feed: channels.preview (old apps and the Stable channel read only the top level).
-preview_done() { python3 -c 'import json, sys; sys.exit(json.load(open("website/latest.json")).get("channels", {}).get("preview", {}).get("version") != sys.argv[1])' "$V" 2>/dev/null; }
+feed_done() { grep -qF "\"version\": \"$V\"" website/latest.json; }
prerelease_is() { grep -qx "set(SCULPTFORGE_PRERELEASE \"$1\")" CMakeLists.txt; }
# HIGHLIGHTS names a file of 3-5 non-empty lines.
highlights_ok() {
@@ -234,16 +236,12 @@ preflight() {
grep -q '^set(SCULPTFORGE_PRERELEASE "[a-z0-9.]*")$' CMakeLists.txt ||
die "CMakeLists.txt lost its set(SCULPTFORGE_PRERELEASE \"\") line that step bump sets" "restore it under project() (git log -p CMakeLists.txt), commit"
python3 -c 'import json, sys; json.load(open(sys.argv[1]))' website/latest.json 2>/dev/null || die "website/latest.json is not valid JSON" "fix it, commit"
- if [ -n "$PRE" ]; then # a beta: the update feed's channels.preview, nothing else of the site, no packages
- if ! preview_done; then
- if [ -z "${HIGHLIGHTS:-}" ]; then
- HIGHLIGHTS=$(mktemp)
- python3 tools/release/assemble_notes.py "$BASE" --highlights >"$HIGHLIGHTS"
- highlights_ok || HIGHLIGHTS=
- fi
- highlights_ok || die "HIGHLIGHTS must name a file with 3-5 highlight lines for the beta's feed entry (now: '${HIGHLIGHTS:-unset}')" "$highlights_fix"
- fi
- ok "What's New $BASE and the highlights are ready for the beta (a beta has no site, package or reply steps)"
+ if [ -n "$PRE" ]; then # a beta: members only, through the private repository; nothing of the site, no packages
+ gh secret list -R "$REPO" 2>/dev/null | grep -q '^INSIDERS_REPO_TOKEN\b' ||
+ die "the repository has no INSIDERS_REPO_TOKEN secret, so release.yml can't publish the beta to $INSIDERS_REPO" \
+ "the owner creates it (fine-grained token, only $INSIDERS_REPO, Contents: read and write): gh secret set INSIDERS_REPO_TOKEN -R $REPO"
+ gh repo view "$INSIDERS_REPO" >/dev/null 2>&1 || die "can't see $INSIDERS_REPO" "gh auth status: log in as the owner of $INSIDERS_REPO"
+ ok "What's New $BASE is ready and $INSIDERS_REPO takes the beta (a beta has no site, package or reply steps)"
return
fi
# site (bump writes the home page's card from the features block)
@@ -446,7 +444,7 @@ step_tag() {
if gh api "repos/$REPO/git/ref/tags/$T" >/dev/null 2>&1; then ok "$T is already pushed"; return; fi
local sha
sha=$(git rev-parse HEAD)
- confirm "Tag $T at $(git log -1 --format='%h %s' "$sha") and push it? This publishes SculptForge $V${PRE:+ as a GitHub pre-release for testers}." ||
+ confirm "Tag $T at $(git log -1 --format='%h %s' "$sha") and push it? This publishes SculptForge $V${PRE:+ for members, in $INSIDERS_REPO}." ||
die "not confirmed" "run again and answer y (or YES=1) once the owner has said ship it for $V"
git rev-parse -q --verify "refs/tags/$T" >/dev/null || git tag "$T" "$sha"
gitp push -q origin "$T" || die "pushing $T failed" "git push origin $T (check gh auth status)"
@@ -455,7 +453,7 @@ step_tag() {
step_release() {
local assets
- assets=$(gh release view "$T" -R "$REPO" --json assets -q '.assets[].name' 2>/dev/null || true)
+ assets=$(gh release view "$T" -R "$RELEASE_REPO" --json assets -q '.assets[].name' 2>/dev/null || true)
if grep -qx SHA256SUMS.txt <<<"$assets"; then
ok "release $T is published"
else
@@ -621,48 +619,14 @@ step_replies() {
ok "drafts for $(echo "$issues" | wc -w) issues in $out: read them, then post with gh issue comment / close"
}
-step_preview() {
- release_ready
- on_main
- if preview_done; then
- ok "website/latest.json's channels.preview already says $V"
- else
- if [ -z "${HIGHLIGHTS:-}" ]; then # (a run that started here) What's New's highlight lines for the version
- HIGHLIGHTS=$work/highlights
- python3 tools/release/assemble_notes.py "$BASE" --highlights >"$HIGHLIGHTS"
- fi
- highlights_ok || die "the feed's preview entry needs this beta's highlights" "$highlights_fix --from preview"
- python3 - "$V" "$HIGHLIGHTS" "https://github.com/$REPO/releases/tag/$T" <<'PY'
-import json, sys
-v, notes, url = sys.argv[1:]
-lines = [l.strip() for l in open(notes, encoding="utf-8") if l.strip()]
-if not 3 <= len(lines) <= 5:
- sys.exit(f"{notes}: want 3-5 highlight lines, found {len(lines)}")
-with open("website/latest.json", encoding="utf-8") as f:
- feed = json.load(f)
-feed.setdefault("channels", {})["preview"] = {
- "version": v, "download": url, "notes": "https://sculptforge.app/guide/whats-new.html", "highlights": lines}
-with open("website/latest.json", "w", encoding="utf-8") as f:
- json.dump(feed, f, indent=2, ensure_ascii=False)
- f.write("\n")
-PY
- git add website/latest.json
- commit -m "Update feed: $V on the Preview channel"
- push_main
- ok "pushed channels.preview (the stable top level is unchanged)"
- fi
- wait_live https://sculptforge.app/latest.json "\"version\": \"$V\"" 600 ||
- die "sculptforge.app still serves the old feed after 10 minutes" "check the Website workflow: gh run list -R $REPO -w pages.yml -L 3; re-run it if it failed"
- ok "sculptforge.app/latest.json offers $V on the Preview channel"
-}
-
step_status() {
if [ -n "$PRE" ]; then
- echo " Beta: https://github.com/$REPO/releases/tag/$T (a pre-release: releases/latest stays on stable)"
- echo " Discord: the Discord announcement workflow posts it in #announcements with how to send feedback"
- echo " (gh run list -R $REPO -w discord-announce.yml -L 1)"
+ echo " Beta: https://github.com/$INSIDERS_REPO/releases/tag/$T (members only; nothing public)"
+ echo " Discord: release.yml posted it in #members (DISCORD_MEMBERS_WEBHOOK)"
+ echo " Members: invite new members' GitHub usernames (from the Stripe checkout) by hand:"
+ echo " gh api -X PUT repos/$INSIDERS_REPO/collaborators/USERNAME -f permission=pull"
if [ -f "release-testers-$V.md" ]; then
- echo " Testers: $PWD/release-testers-$V.md (read it, then post it in #testers)"
+ echo " Testers: $PWD/release-testers-$V.md (read it, then post it in #members)"
else
echo " Testers: no checklist (the note fragments had no testers: lines)"
fi
diff --git a/tests/release_beta_test.sh b/tests/release_beta_test.sh
index 747c6790..68b5bda0 100755
--- a/tests/release_beta_test.sh
+++ b/tests/release_beta_test.sh
@@ -4,7 +4,8 @@
#
# scripts/release.sh's beta path, run for real in a sandbox (ctest release_script_beta): a shared clone of this
# checkout (with its uncommitted changes), a bare repository as origin, and stand-ins for gh, curl, cmake and ctest,
-# so nothing reaches GitHub, the website or the build. It releases 9.0.0-beta.1 (steps bump check preview status),
+# so nothing reaches GitHub, the website or the build. It releases 9.0.0-beta.1 (steps bump check status: members
+# only, nothing public),
# then promotes it to 9.0.0 (bump check site) with the beta tag present, and checks what each one may and may not
# touch (docs/releasing.md, "Betas").
set -euo pipefail
@@ -57,6 +58,8 @@ cat > "$S/bin/gh" <<EOF
#!/usr/bin/env bash
case "\$*" in
"auth status"*) echo "Logged in to github.com account islandmed" ;;
+ "secret list"*) printf 'INSIDERS_REPO_TOKEN\t2026-11-05T00:00:00Z\n' ;;
+ "repo view islandmed/sculptforge-insiders"*) echo "islandmed/sculptforge-insiders" ;;
"release view"*) echo SHA256SUMS.txt ;;
"release download"*) exit 1 ;;
*homebrew-tap*) printf ' version "0.10.10"\n' | base64 ;;
@@ -109,23 +112,15 @@ grep -q 'CMakeLists.txt says 9.0.0 beta.1' "$S/out.log" || fail "beta check: $(c
quiet scripts/release.sh 9.0.0-beta.1 --only bump # again: nothing left to do
grep -q 'already says' "$S/out.log" || fail "beta bump is not idempotent: $(cat "$S/out.log")"
-# A beta needs highlights for its feed entry: in What's New's block now (the fragment's went there).
-quiet scripts/release.sh 9.0.0-beta.1 --only preview
-python3 - <<'EOF' || fail "beta preview: wrong feed"
-import json, subprocess
-feed = json.loads(subprocess.run(["git", "show", "HEAD:website/latest.json"], capture_output=True, text=True).stdout)
-old = json.loads(subprocess.run(["git", "show", "HEAD~1:website/latest.json"], capture_output=True, text=True).stdout)
-p = feed["channels"]["preview"]
-assert p["version"] == "9.0.0-beta.1", p
-assert p["download"].endswith("/releases/tag/v9.0.0-beta.1"), p
-assert p["highlights"][0] == "First highlight of the beta", p
-assert feed["version"] == old["version"] and feed["highlights"] == old["highlights"], "the stable top level changed"
-EOF
-git diff --quiet HEAD~1 HEAD -- website/index.html || fail "beta preview touched the home page"
+# A beta is members only: nothing of the site or the update feed changes.
+[ "$(git rev-parse HEAD)" = "$(git -C "$S/origin.git" rev-parse main)" ] || fail "beta check pushed something"
+git diff --quiet "$start" HEAD -- website/latest.json website/index.html || fail "the beta touched the update feed or the home page"
+scripts/release.sh 9.0.0-beta.1 --only preview >/dev/null 2>&1 && fail "a beta still has a preview (public feed) step"
quiet scripts/release.sh 9.0.0-beta.1 --only status
grep -q 'release-testers-9.0.0-beta.1.md' "$S/out.log" || fail "beta status names no testers checklist"
+grep -q 'islandmed/sculptforge-insiders/releases/tag/v9.0.0-beta.1' "$S/out.log" || fail "beta status doesn't name the members' repository"
grep -q 'scripts/release.sh 9.0.0 --yes' "$S/out.log" || fail "beta status doesn't say how to promote"
-git tag v9.0.0-beta.1 "$(git rev-parse HEAD~1)" # what step tag would have pushed
+git tag v9.0.0-beta.1 "$(git rev-parse HEAD)" # what step tag would have pushed
# --- promoting it: the stable 9.0.0 with the beta tag present ------------------------------------------------------
# People give the version its tagline before the stable release (the home page card needs it).
diff --git a/website/support.html b/website/support.html
index 7efe8294..c22b2a2a 100644
--- a/website/support.html
+++ b/website/support.html
@@ -209,7 +209,7 @@
<article class="tier featured" style="--i: 0">
<h2>Member</h2>
<p class="price"><span data-price class="now">$5</span><span data-per>/ month</span></p>
- <p class="per-year" data-alt>or $48 a year</p>
+ <p class="per-year" data-alt hidden>or $48 a year</p>
<ul class="perks">
<li><strong>Betas and early builds</strong>: the next version before everyone else (from SculptForge
1.0, each release about two weeks early)</li>
@@ -232,8 +232,7 @@
<p class="cta"><a class="btn" href="https://buy.stripe.com/3cI00j12v5H4g1dgWZ4F204" rel="noopener">Studio membership</a></p>
</article>
</div>
- <p class="fine support-fine">Every release stays free for everyone; bug-fix and security releases go out to everyone the same day.
- Betas and early builds come from a private GitHub repository: give your GitHub username at checkout and
+ <p class="fine support-fine">Betas and early builds come from a private GitHub repository: give your GitHub username at checkout and
you'll get an invite. Join the <a href="https://discord.gg/gWrYkEmQhH" rel="noopener">SculptForge Discord</a>
and tell us your membership for #members. <a href="studios.html">For studios</a>.</p>
<p class="fine support-fine">Payments are handled by Stripe (cards, Apple Pay, Google Pay); SculptForge never sees your
@@ -296,6 +295,7 @@
const monthly = link.href, price = document.querySelector('[data-price]'), per = document.querySelector('[data-per]'),
alt = document.querySelector('[data-alt]');
billing.hidden = false;
+ alt.hidden = false;
billing.querySelectorAll('button').forEach((b) => b.addEventListener('click', () => {
const year = b.dataset.billing === 'year';
billing.querySelectorAll('button').forEach((o) => o.setAttribute('aria-pressed', String(o === b)));