-
Create a release commit. This includes specific updated files:
-
Cargo.toml (Bump the version using semver standards)
-
Cargo.lock (This is usually updated automatically with the
cargo
CLI tool) -
Make sure the changes for the new release exist under
CHANGELOG.md
. This should already exist since changes done in GitHub Pull Requests should include updates to theCHANGELOG.md
. If this doesn't exist, the release will fail. -
Change
CHANGELOG.md
## Unreleased
to## [x.x.x] - YYYY-MM-DD
wherex.x.x
is the new Tinty version specified in theCargo.toml
file and the link to[x.x.x]
at the bottom of theCHANGELOG.md
file and compare it with the previously released version, eg:[0.22.0]: https://github.com/tinted-theming/tinty/compare/v0.21.1...v0.22.0
-
Run
cargo about generate about.hbs > LICENSES-THIRD-PARTY.md
to update the third party licenses. (cargo install cargo-about
if you don't have it installed) -
Create a commit with the 3 changed files titled
Release x.x.x
wherex.x.x
is the new Tinty version specified in theCargo.toml
file
-
-
Push the commit or create a Pull Request and merge
-
Once the CI tests have passed, run the Release GitHub action. This will automatically do the following:
- Add a Git tag to the release commit with the new version number
- Create a release under GitHub releases with the changes
mentioned in
CHANGELOG
- Generate the various binaries and add it to the GitHub release
-
Run the homebrew-tinted Update CLI tool GitHub action and specify
tinty
as the action input value. This will update the version for Homebrew