Skip to content

Commit db4a5fa

Browse files
committed
✨ Support strings as well as numbers
1 parent 54b2582 commit db4a5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_utils.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ perform_version_bump() {
3636
# @param $2 any non-empty string iff it should be "silent" and not commit the change.
3737
perform_bundle_bump() {
3838
local config="$1/src/constants.js"
39-
gsed -ri 's/(.*)(CODE_BUNDLE_ID: )([0-9]+)(.*)/echo "\1\2$((\3 + 1))\4"/ge' "${config}"
39+
gsed -ri 's/(.*)(CODE_BUNDLE_ID:.*)([0-9]+)(.*)/echo "\1\2$((\3 + 1))\4"/ge' "${config}"
4040

4141
git add "${config}"
4242

0 commit comments

Comments
 (0)