We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ee8e77 commit 0a65f38Copy full SHA for 0a65f38
scripts/bump-version.sh
@@ -21,6 +21,6 @@ function replace() {
21
grep "$2" $3 # verify that replacement was successful
22
}
23
24
-replace "version=\"[0-9.]+\"" "version=\"$NEW_VERSION\"" ./setup.py
25
-replace "VERSION = \"[0-9.]+\"" "VERSION = \"$NEW_VERSION\"" ./sentry_sdk/consts.py
26
-replace "release = \"[0-9.]+\"" "release = \"$NEW_VERSION\"" ./docs/conf.py
+replace "version=\"$OLD_VERSION\"" "version=\"$NEW_VERSION\"" ./setup.py
+replace "VERSION = \"$OLD_VERSION\"" "VERSION = \"$NEW_VERSION\"" ./sentry_sdk/consts.py
+replace "release = \"$OLD_VERSION\"" "release = \"$NEW_VERSION\"" ./docs/conf.py
0 commit comments