Some checks failed
install-nix-action test / simple-build (macos-13) (push) Has been cancelled
install-nix-action test / simple-build (macos-latest) (push) Has been cancelled
install-nix-action test / simple-build (ubuntu-24.04-arm) (push) Has been cancelled
install-nix-action test / simple-build (ubuntu-latest) (push) Has been cancelled
install-nix-action test / custom-nix-path (macos-13) (push) Has been cancelled
install-nix-action test / custom-nix-path (macos-latest) (push) Has been cancelled
install-nix-action test / custom-nix-path (ubuntu-24.04-arm) (push) Has been cancelled
install-nix-action test / custom-nix-path (ubuntu-latest) (push) Has been cancelled
install-nix-action test / extra-nix-config (macos-13) (push) Has been cancelled
install-nix-action test / extra-nix-config (macos-latest) (push) Has been cancelled
install-nix-action test / extra-nix-config (ubuntu-24.04-arm) (push) Has been cancelled
install-nix-action test / extra-nix-config (ubuntu-latest) (push) Has been cancelled
install-nix-action test / flakes (macos-13) (push) Has been cancelled
install-nix-action test / flakes (macos-latest) (push) Has been cancelled
install-nix-action test / flakes (ubuntu-24.04-arm) (push) Has been cancelled
install-nix-action test / flakes (ubuntu-latest) (push) Has been cancelled
install-nix-action test / latest-installer (macos-13, x86_64-darwin) (push) Has been cancelled
install-nix-action test / latest-installer (macos-latest, aarch64-darwin) (push) Has been cancelled
install-nix-action test / latest-installer (ubuntu-24.04-arm, aarch64-linux) (push) Has been cancelled
install-nix-action test / latest-installer (ubuntu-latest, x86_64-linux) (push) Has been cancelled
install-nix-action test / oldest-supported-installer (macos-13) (push) Has been cancelled
install-nix-action test / oldest-supported-installer (macos-latest) (push) Has been cancelled
install-nix-action test / oldest-supported-installer (ubuntu-24.04-arm) (push) Has been cancelled
install-nix-action test / oldest-supported-installer (ubuntu-latest) (push) Has been cancelled
install-nix-action test / act-support (ubuntu-latest) (push) Has been cancelled
44 lines
1,014 B
Markdown
44 lines
1,014 B
Markdown
# Release
|
|
|
|
As of v31, releases of this action follow Semantic Versioning.
|
|
|
|
### Publishing a new release
|
|
|
|
#### Publish the release
|
|
|
|
Draft [a new release on GitHub](https://github.com/cachix/install-nix-action/releases):
|
|
|
|
- In `Choose a tag`, create a new tag, like `v31.2.1`, following semver.
|
|
- Click `Generate release notes`.
|
|
- `Set as the latest release` should be selected automatically.
|
|
- Publish release
|
|
|
|
#### Update the major tag
|
|
|
|
The major tag, like `v31`, allows downstream users to opt-in to automatic non-breaking updates.
|
|
|
|
This process follows GitHub's own guidelines:
|
|
https://github.com/actions/toolkit/blob/main/docs/action-versioning.md
|
|
|
|
##### Fetch the latest tags
|
|
|
|
```
|
|
git pull --tags --force
|
|
```
|
|
|
|
##### Move the tag
|
|
|
|
```
|
|
git tag -fa v31
|
|
```
|
|
```
|
|
git push origin v31 --force
|
|
```
|
|
|
|
#### Update the release notes for the major tag
|
|
|
|
Find the release on GitHub: https://github.com/cachix/install-nix-action/releases
|
|
|
|
Edit the release and click `Generate release notes`.
|
|
Edit the formatting and publish.
|
|
|