Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
chore(release): patch by default, upstream merges no longer bump the minor
raymondchins9b7c4c291595
diff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex 89ec173..85d2c1e 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -19,7 +19,7 @@ bump differs), skips them;| Define | Meaning | In the app | In the appcast ||---|---|---|---|-| `BRIDGEPLAY_VERSION` | Bridgeplay semver: patch for fixes and routine upstream NotProton merges, minor for features players notice, major only for breaks (prefix, save or install layout). Bundle changes into one release rather than bumping per merge | `CFBundleShortVersionString`, About, Status | `sparkle:shortVersionString`, tag `v<version>` |+| `BRIDGEPLAY_VERSION` | Bridgeplay semver, kept slow: patch for every normal release (fixes, features, upstream NotProton merges), so 3.5.12 is fine. Minor only for a milestone chosen on purpose (a new engine or backend, a big redesign). Major only for breaks (prefix, save or install layout). Bundle changes into one release rather than releasing per merge | `CFBundleShortVersionString`, About, Status | `sparkle:shortVersionString`, tag `v<version>` || `BRIDGEPLAY_BUILD` | +1 on every release; Sparkle orders updates by it | `CFBundleVersion` | `sparkle:version` || `NOTPROTON_VERSION` | the upstream release this is based on, exactly as upstream ships it | `NotProtonVersion`, About ("based on NotProton 1.2.0") | release notes |@@ -48,7 +48,7 @@ installation. `VersioningTests` guards both.scripts/bump-version.sh patch # or minor / majorgit commit -m "chore(release): Bridgeplay X.Y.Z" dylib/version.h```- `scripts/sync-upstream.sh` already bumps the minor after an upstream merge.+ `scripts/sync-upstream.sh` already bumps the patch after an upstream merge.2. Push to `main` of `raymondchins/Bridgeplay` (the script refuses anything else).3. Optionally rehearse: `scripts/release-local.sh --dry-run` writes the zip and appcast to`out/release/` from an app already built with `make app`, without publishing or readingdiff --git a/dylib/version.h b/dylib/version.hindex 61ff804..7b6bb18 100644--- a/dylib/version.h+++ b/dylib/version.h@@ -6,7 +6,7 @@// Bridgeplay's own version, independent of the NotProton release above, which stays// exactly as upstream ships it so merging upstream never conflicts here.-// BRIDGEPLAY_VERSION semver people see: patch for fixes and upstream merges, minor for features+// BRIDGEPLAY_VERSION semver people see, kept slow: patch for normal releases, minor for milestones// (CFBundleShortVersionString, sparkle:shortVersionString)// BRIDGEPLAY_BUILD +1 on every release, continuing the old "-ray.N" counter; Sparkle// orders updates by it (CFBundleVersion, sparkle:version)diff --git a/scripts/bump-version.sh b/scripts/bump-version.shindex b267013..7f40acf 100755--- a/scripts/bump-version.sh+++ b/scripts/bump-version.sh@@ -3,8 +3,8 @@## scripts/bump-version.sh patch|minor|major [--upstream "NotProton X.Y.Z"]#-# patch for fixes, minor for an upstream NotProton merge or new features, major for a-# break. BRIDGEPLAY_BUILD goes up by one every time, since Sparkle orders updates by it.+# Almost always patch (fixes, features, upstream merges); minor and major are rare, see+# docs/RELEASING.md. BRIDGEPLAY_BUILD goes up by one every time, since Sparkle orders updates by it.# --upstream records the NotProton release this build is based on (NOTPROTON_VERSION);# a clean upstream merge already brings upstream's value, so it is rarely needed.# Edits the file only; commit it yourself. See docs/RELEASING.md.diff --git a/scripts/sync-upstream.sh b/scripts/sync-upstream.shindex 87e85ba..0b213bf 100755--- a/scripts/sync-upstream.sh+++ b/scripts/sync-upstream.sh@@ -9,7 +9,7 @@# rebased or taken with -X theirs, so local commits stay as they are. The only conflict# resolved automatically is dylib/version.h: Bridgeplay's lines are kept and# NOTPROTON_VERSION takes upstream's value. Any other conflict aborts that merge and-# leaves the tree untouched. After a merge, scripts/bump-version.sh minor is committed.+# leaves the tree untouched. After a merge, scripts/bump-version.sh patch is committed.set -eu@@ -85,9 +85,9 @@ for entry in $pending; doecho "==> kept Bridgeplay's version.h, NotProton $theirs"done-# Every upstream merge ships as a new minor Bridgeplay release.+# An upstream merge is a patch: versions move slowly, see docs/RELEASING.md.if [ "$(product_of <dylib/version.h)" = "$ours_before" ]; then- scripts/bump-version.sh minor+ scripts/bump-version.sh patchgit commit -q -m "chore(release): bump Bridgeplay to $(product_of <dylib/version.h) after upstream merge" dylib/version.hfi