Skip to content

Commit

Permalink
Update tools/update-version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 29, 2021
1 parent 2eda89c commit ae0fffc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#
# Usage:
# ./tools/update-version.sh [options]
# ./tools/update-version.sh -y patch
# ./tools/update-version.sh -y minor
# ./tools/update-version.sh -y prerelease --pre-id alpha
# ./tools/update-version.sh patch
# ./tools/update-version.sh minor
# ./tools/update-version.sh prerelease --pre-id alpha
#
# Note: This script requires cargo-workspaces <https://github.com/pksunkara/cargo-workspaces>

set -euo pipefail
IFS=$'\n\t'

cargo workspaces version --force '*' --no-git-commit --exact "$@"
cargo workspaces version --force '*' --no-git-commit --exact -y "$@"

0 comments on commit ae0fffc

Please sign in to comment.