Skip to content

Commit

Permalink
bin/release: update to modern cargo-release
Browse files Browse the repository at this point in the history
cargo-release changed some CLI flags so we have to change with the
times. Also: roll back the version number so cargo-release can bump
it for us.
  • Loading branch information
chrisdickinson committed Mar 29, 2022
1 parent 9ae7c0c commit 93d42bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["C J Silverio <ceejceej@gmail.com>", "Chris Dickinson <chris@neversaw.us>"]
edition = "2021"
name = "boltzmann"
version = "0.6.0"
version = "0.5.3"
documentation = "https://www.boltzmann.dev/en/docs/latest/"
description = "A scaffolder for Boltzmann.js http service projects."
license = "Apache-2.0"
Expand All @@ -11,8 +11,6 @@ include = ["src/**/*", "docs/contents/reference/*.md", "templates/**/*"]
[package.metadata.release]
sign-commit = true
sign-tag = true
exclude-paths = ["/docs/**", "/README.md", "/tests/**", "/bin/**", "examples/**"]
no-dev-version = true

[dependencies]
anyhow = "1.0.32"
Expand Down
2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ ! -e "$HOME/.cargo/bin/cargo-release" ]; then
cargo install cargo-release
fi

cargo release $level --skip-publish
cargo release $level --no-publish --execute

echo "We are now at version $(cargo read-manifest | jq -r ".version")"
echo "Next step: write release notes on GitHub while the asset builds run."
Expand Down

0 comments on commit 93d42bb

Please sign in to comment.