Skip to content

Commit b5ff85d

Browse files
committed
[release] don't verify before building
The cargo publish process might pull in new versions of dependencies, which might have regressions.
1 parent 762a09a commit b5ff85d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/cargo-release-publish.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ set -xe -o pipefail
88
# Check out this branch, creating it if it doesn't exist.
99
git checkout -B to-release
1010

11-
cargo release publish --publish --execute --no-confirm --workspace "$@"
11+
# --execute: actually does the release
12+
# --no-verify: doesn't build before releasing (this is because cargo publish might pull in new
13+
# versions of dependencies, which might have regressions)
14+
# --no-confirm: don't ask for confirmation, since this is a non-interactive script
15+
cargo release publish --publish --execute --no-verify --no-confirm --workspace "$@"
1216

1317
git checkout -
1418
git branch -D to-release

0 commit comments

Comments
 (0)