release.sh: support latest cargo-release

pull/153/head
Jake McGinty 2021-09-14 17:26:11 +09:00
parent c94d9d2c03
commit c4d41b805a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ git diff --quiet || die 'ERROR: git repo is dirty.'
OLD_VERSION="v$(cargo pkgid -p shared | cut -d '#' -f 2)"
cargo release "$1" --no-confirm --exclude "hostsfile" --exclude "publicip"
cargo release "$1" --no-confirm --exclude "hostsfile" --exclude "publicip" --execute
# re-stage the manpage commit and the cargo-release commit
git reset --soft @~1