Skip to content

Commit

Permalink
use fastmod to update zebra-scan version
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Dec 7, 2023
1 parent c707616 commit 0f84d52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Update the README to:
- [ ] Update the "Build and Run Instructions" with any new dependencies.
Check for changes in the `Dockerfile` since the last tag: `git diff <previous-release-tag> docker/Dockerfile`.
- [ ] If Zebra has started using newer Rust language features or standard library APIs, update the known working Rust version in the README, book, and `Cargo.toml`s

\d
You can use a command like:
```sh
fastmod --fixed-strings '1.58' '1.65'
Expand Down Expand Up @@ -84,7 +84,8 @@ Check that the release will work:

```sh
cargo release version --verbose --execute --allow-branch '*' --workspace --exclude zebrad --exclude zebra-scan beta
cargo release version --verbose --execute --allow-branch '*' --package zebra-scan alpha # Increment version manually if this doesn't work
fastmod -d zebra-scan -e toml -F '0.1.0-alpha.1' '0.1.0-alpha.2' # Update this command if zebra-scan is still in alpha and alpha version bumps won't work with cargo-release
# cargo release version --verbose --execute --allow-branch '*' --package zebra-scan beta # [ major | minor | patch ]
cargo release version --verbose --execute --allow-branch '*' --package zebrad patch # [ major | minor | patch ]
cargo release replace --verbose --execute --allow-branch '*' --package zebrad
cargo release commit --verbose --execute --allow-branch '*'
Expand Down

0 comments on commit 0f84d52

Please sign in to comment.