Skip to content

Commit c92d8d8

Browse files
authored
feat(scripts): add command to update Cargo.lock (#838)
1 parent 644ee85 commit c92d8d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/bump-version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" sentry*/Cargo.tom
1414
perl -pi -e "s/^(sentry.*)?version = \".*?\"/\$1version = \"$NEW_VERSION\"/" sentry*/Cargo.toml
1515

1616
"$SCRIPT_DIR"/update-readme.sh "$NEW_VERSION"
17+
cargo metadata --format-version 1 > /dev/null # update `Cargo.lock`

0 commit comments

Comments
 (0)