We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6337d3 commit 210755aCopy full SHA for 210755a
scripts/bump-version.sh
@@ -10,6 +10,5 @@ NEW_VERSION="${2}"
10
echo "Current version: ${OLD_VERSION}"
11
echo "Bumping version: ${NEW_VERSION}"
12
13
-VERSION_RE=${VERSION//\./\\.}
14
-find . -name Cargo.toml -type f -exec sed -i '' -e "1,/^version/ s/^version.*/version = \"${NEW_VERSION}\"/" {} \;
15
-cargo update -p sentry
+perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" Cargo.toml
+perl -pi -e "s/^(sentry.*)?version = \".*?\"/\$1version = \"$NEW_VERSION\"/" integrations/sentry-actix/Cargo.toml
0 commit comments