1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/env bash # # Bumps package version # set -eu if [ $# -ne 1 ]; then echo "Usage: $0 level" >&2 exit 1 fi command -v cargo-release > /dev/null || cargo install cargo-release cargo release --no-publish --execute "$@" ./publish