mirror of
https://github.com/block/buzz.git
synced 2026-11-03 16:01:35 +00:00
fix(release): sign version bump commits
Make the release helper sign its generated version-bump commits so release PRs satisfy DCO, and align release docs with the Buzz updater names. Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes <wesbillman@users.noreply.github.com>
This commit is contained in:
@@ -84,7 +84,7 @@ Each release produces two GitHub releases:
|
||||
1. **`v<version>`** — the user-facing release with the `.dmg` installer
|
||||
(macOS).
|
||||
|
||||
2. **`sprout-desktop-latest`** — a rolling pre-release for the Tauri
|
||||
2. **`buzz-desktop-latest`** — a rolling pre-release for the Tauri
|
||||
auto-updater containing `latest.json`, the signed `.tar.gz` archive,
|
||||
and its `.sig` signature.
|
||||
|
||||
@@ -108,7 +108,7 @@ the same `v<version>` release. Intel users download the `_x64.dmg`.
|
||||
|
||||
| Secret | Purpose |
|
||||
|--------|---------|
|
||||
| `SPROUT_UPDATER_PUBLIC_KEY` | Tauri updater public key (minisign) |
|
||||
| `BUZZ_UPDATER_PUBLIC_KEY` | Tauri updater public key (minisign) |
|
||||
| `TAURI_SIGNING_PRIVATE_KEY` | Tauri updater private key |
|
||||
| `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` | Password for the private key |
|
||||
|
||||
@@ -129,7 +129,7 @@ Re-run `just release` from an up-to-date `main`. It resets the branch to current
|
||||
The version string must be valid semver: `MAJOR.MINOR.PATCH` with an optional pre-release suffix. Do not include a `v` prefix.
|
||||
|
||||
### Auto-updater reports "no update available"
|
||||
Verify that the `sprout-desktop-latest` release exists and contains a
|
||||
Verify that the `buzz-desktop-latest` release exists and contains a
|
||||
valid `latest.json`. The auto-updater manifest currently lists
|
||||
`darwin-aarch64` only, so Intel and Linux users do not yet receive
|
||||
auto-updates — they download new versions manually from the release
|
||||
|
||||
4
justfile
4
justfile
@@ -534,9 +534,9 @@ release *ARGS:
|
||||
CHANGELOG.md
|
||||
RELEASE_MSG="chore(release): release version ${VERSION}"
|
||||
if [[ "$(git log -1 --format='%s' 2>/dev/null)" == "$RELEASE_MSG" ]]; then
|
||||
git commit --amend --no-edit
|
||||
git commit --amend --no-edit -s
|
||||
else
|
||||
git commit -m "$RELEASE_MSG"
|
||||
git commit -s -m "$RELEASE_MSG"
|
||||
fi
|
||||
# Push and open PR
|
||||
git push --force-with-lease -u origin "$BRANCH"
|
||||
|
||||
Reference in New Issue
Block a user