Skip to content

Commit 7548780

Browse files
committed
chore: Correct the release script
1 parent 92ce531 commit 7548780

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ executeOnShell "gzip -c target/release/pact-stub-server > target/release/pact-st
106106
def nextVer = Version.valueOf(releaseVer).incrementPatchVersion()
107107
ask("Bump version to $nextVer?: [Y]") {
108108
executeOnShell "sed -i -e 's/version = \"${releaseVer}\"/version = \"${nextVer}\"/' Cargo.toml"
109+
executeOnShell("cargo update")
109110
executeOnShell("git add Cargo.toml Cargo.lock")
110111
executeOnShell("git diff --cached")
111112
ask("Commit and push this change?: [Y]") {

0 commit comments

Comments
 (0)