mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 11:13:09 +02:00
commit
17a13e0de9
4 changed files with 20 additions and 5 deletions
12
RELEASING.md
12
RELEASING.md
|
@ -1,3 +1,13 @@
|
|||
# Release process
|
||||
|
||||
1.
|
||||
1. Run `cargo test`
|
||||
1. Run `cargo clean && cargo clippy`
|
||||
1. Run `mdbook test docs`
|
||||
1. Update `version` in `*/Cargo.toml`. All versions should match. Commit the change with comment `vX.Y.Z`.
|
||||
1. Run `cargo build --release`
|
||||
1. Run `git tag vX.Y.Z`
|
||||
1. Run `git push --tags upstream`
|
||||
1. Run `( cd docs; ./build.sh )`
|
||||
1. Run `cargo publish -p taskchampion`
|
||||
1. Navigate to the tag in the GitHub releases UI and create a release with general comments about the changes in the release
|
||||
1. Upload `./target/release/task` and `./target/release/task-sync-server` to the release
|
||||
|
|
|
@ -18,7 +18,7 @@ where
|
|||
let subcommands = cmd::subcommands();
|
||||
|
||||
let mut app = App::new("TaskChampion")
|
||||
.version("0.1")
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.about("Personal task-tracking")
|
||||
.setting(AppSettings::ColoredHelp);
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ mod storage;
|
|||
|
||||
#[get("/")]
|
||||
async fn index() -> impl Responder {
|
||||
// TODO: add version here
|
||||
"TaskChampion sync server"
|
||||
format!("TaskChampion sync server v{}", env!("CARGO_PKG_VERSION"))
|
||||
}
|
||||
|
||||
/// Return a scope defining the URL rules for this server, with access to
|
||||
|
@ -29,7 +28,7 @@ pub(crate) fn app_scope(server_state: ServerState) -> Scope {
|
|||
async fn main() -> Fallible<()> {
|
||||
env_logger::init();
|
||||
let matches = clap::App::new("taskchampion-sync-server")
|
||||
.version("0.1.0")
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.about("Server for TaskChampion")
|
||||
.arg(
|
||||
Arg::with_name("port")
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
name = "taskchampion"
|
||||
version = "0.1.0"
|
||||
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
||||
description = "Personal task-tracking"
|
||||
homepage = "https://djmitche.github.io/taskchampion/"
|
||||
documentation = "https://docs.rs/crate/taskchampion"
|
||||
repository = "https://github.com/djmitche/taskchampion"
|
||||
readme = "../README.md"
|
||||
license = "MIT"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue