Add release instructions to the manual

pull/48/head
Wilfred Hughes 2021-10-18 22:41:56 +07:00
parent 4287594cda
commit 6824ba7d6b
1 changed files with 14 additions and 0 deletions

@ -85,3 +85,17 @@ locally.
$ cd manual
$ mdbook serve
```
## Releasing
Use Cargo to create a new release, and tag it in git.
```
$ cargo publish
$ VERSION=$(cargo metadata | jq -r '.packages | .[] | select(.name == "difftastic") | .version')
$ git tag $VERSION
$ git push --tags
```
You can now increment the version in Cargo.tmol and add a new entry
CHANGELOG.md.