bots-garden/sidekickspublic Fork
⑂ release/v1.5.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. 8095158 · on release/v1.5.0 · k33g · 16d ago
publish-a-release.md · 31 lines · 2.1 KBmarkdown
Blame HistoryOpen raw

How to publish a release

This guide shows how to publish a Sidekicks release from a Mac with the local CI: build, sign and notarize, create a draft on Rickub, upload, publish. It assumes the development tools of How to develop the application, brew install makensis, the signing setup of How to sign and notarize Sidekicks for macOS (part A) and a token in .ci.cd.token.env. RELEASING.md is the same procedure as a checklist, with the settings.

Steps

  1. Set the version (How to set the version: info.version, then scripts/sync-build-assets.sh), write docs/release-notes/v<version>.md, set TAG="v<version>" in .release.env, then commit, merge into main and push.
  2. ./local-ci-01-check.sh: make verify.
  3. ./local-ci-02-build.sh: release/<TAG>/ holds the signed and notarized macOS .dmg and .zip, the Windows packages and SHA256SUMS.
  4. ./local-ci-03-create-draft.sh: the tag and a draft prerelease.
  5. ./local-ci-04-upload.sh: the files go up through a temporary branch.
  6. ./local-ci-05-publish.sh: type the tag; the public files are downloaded and compared.
  7. Optional, ./local-ci-06-promote.sh: the prerelease becomes a release.
  8. git fetch --tags in every copy of the repository.

Rehearse with TAG="v9.9.9" first.

Variants

  • Linux packages too (not released for now): LINUX_ARCHES=amd64 ./local-ci-02-build.sh, with Docker Desktop running; they stay in dist/.
  • Leave a system out: SKIP="windows" ./local-ci-02-build.sh (or macos); WINDOWS_ARCHES=amd64 for one Windows architecture.
  • Unsigned build: leave SIGN_IDENTITY empty.
  • Only the unsigned packages: make release-build (into dist/).
  • Wrong release: delete the release and its tag on Rickub, fix, start again at step 4.

See also

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# How to publish a release

This guide shows how to publish a Sidekicks release from a Mac with the local CI: build, sign and notarize, create a draft on Rickub, upload, publish. It assumes the development tools of [How to develop the application](develop-the-application.md), `brew install makensis`, the signing setup of [How to sign and notarize Sidekicks for macOS](sign-and-notarize-on-macos.md) (part A) and a token in `.ci.cd.token.env`. [RELEASING.md](../../../RELEASING.md) is the same procedure as a checklist, with the settings.

## Steps

1. **Set the version** ([How to set the version](set-the-version.md): `info.version`, then `scripts/sync-build-assets.sh`), write `docs/release-notes/v<version>.md`, set `TAG="v<version>"` in `.release.env`, then commit, merge into `main` and push.
2. `./local-ci-01-check.sh`: `make verify`.
3. `./local-ci-02-build.sh`: `release/<TAG>/` holds the signed and notarized macOS `.dmg` and `.zip`, the Windows packages and `SHA256SUMS`.
4. `./local-ci-03-create-draft.sh`: the tag and a draft prerelease.
5. `./local-ci-04-upload.sh`: the files go up through a temporary branch.
6. `./local-ci-05-publish.sh`: type the tag; the public files are downloaded and compared.
7. Optional, `./local-ci-06-promote.sh`: the prerelease becomes a release.
8. `git fetch --tags` in every copy of the repository.

Rehearse with `TAG="v9.9.9"` first.

## Variants

- **Linux packages too** (not released for now): `LINUX_ARCHES=amd64 ./local-ci-02-build.sh`, with Docker Desktop running; they stay in `dist/`.
- **Leave a system out**: `SKIP="windows" ./local-ci-02-build.sh` (or `macos`); `WINDOWS_ARCHES=amd64` for one Windows architecture.
- **Unsigned build**: leave `SIGN_IDENTITY` empty.
- **Only the unsigned packages**: `make release-build` (into `dist/`).
- **Wrong release**: delete the release and its tag on Rickub, fix, start again at step 4.

## See also

- [How to set the version](set-the-version.md)
- [How to sign and notarize Sidekicks for macOS](sign-and-notarize-on-macos.md)
- [How to install Sidekicks](install-sidekicks.md)
- [Reference: commands](../reference/commands.md) — `make release-*`, `scripts/build-release.sh`, `local-ci-*.sh`