-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Document RELEASING.md process * Bump version numbers * Do not automatically produce GH releases, and do not build binaries to attach to them * Only build docker images on tags * Use the `latest` Docker image tag in the Docker-compose config
- Loading branch information
Showing
9 changed files
with
36 additions
and
71 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Build Docker | |
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags: | ||
- '*' | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Release process | ||
|
||
1. Run `git pull upstream main` | ||
1. Run `cargo test` | ||
1. Run `cargo clean && cargo clippy` | ||
1. Remove the `-pre` from `version` in all `*/Cargo.toml`, and from the `version = ..` in any references between packages. | ||
1. Run `cargo semver-checks` (https://crates.io/crates/cargo-semver-checks) | ||
1. Run `cargo build --release` | ||
1. Commit the changes (Cargo.lock will change too) with comment `vX.Y.Z`. | ||
1. Run `git tag vX.Y.Z` | ||
1. Run `git push upstream` | ||
1. Run `git push upstream --tag vX.Y.Z` | ||
1. Run `cargo publish -p taskchampion-sync-server-core` | ||
1. Run `cargo publish -p taskchampion-sync-server-storage-sqlite` (and add any other new published packages here) | ||
1. Bump the patch version in `*/Cargo.toml` and add the `-pre` suffix. This allows `cargo-semver-checks` to check for changes not accounted for in the version delta. | ||
1. Run `cargo build --release` again to update `Cargo.lock` | ||
1. Commit that change with comment "Bump to -pre version". | ||
1. Run `git push upstream` | ||
1. Navigate to the tag in the GitHub releases UI and create a release with general comments about the changes in the release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "taskchampion-sync-server-core" | ||
version = "0.5.0-pre" | ||
version = "0.5.1-pre" | ||
authors = ["Dustin J. Mitchell <[email protected]>"] | ||
edition = "2021" | ||
description = "Core of sync protocol for TaskChampion" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "taskchampion-sync-server" | ||
version = "0.4.1" | ||
version = "0.5.1-pre" | ||
authors = ["Dustin J. Mitchell <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[package] | ||
name = "taskchampion-sync-server-storage-sqlite" | ||
version = "0.5.0-pre" | ||
version = "0.5.1-pre" | ||
authors = ["Dustin J. Mitchell <[email protected]>"] | ||
edition = "2021" | ||
description = "SQLite backend for TaskChampion-sync-server" | ||
license = "MIT" | ||
|
||
[dependencies] | ||
taskchampion-sync-server-core = { path = "../core", version = "0.5.0-pre" } | ||
taskchampion-sync-server-core = { path = "../core", version = "0.5.1-pre" } | ||
uuid.workspace = true | ||
anyhow.workspace = true | ||
thiserror.workspace = true | ||
|