Skip to content

Commit 518c2ab

Browse files
committed
🐛 Stage the bundleId change even if not committing
1 parent be5f3af commit 518c2ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git_utils.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ perform_bundle_bump() {
3838
local config="$1/src/constants.js"
3939
gsed -ri 's/(.*)(CODE_BUNDLE_ID: )([0-9]+)(.*)/echo "\1\2$((\3 + 1))\4"/ge' "${config}"
4040

41+
git add "${config}"
42+
4143
if [ -z $2 ]; then
42-
# Commit the change.
43-
git add "${config}"
4444
git commit -m ":gem: Bump CodePush bundle ID" -m "Auto-change using build script v${BUILD_SCRIPT_VERSION}."
4545
fi
4646
}

0 commit comments

Comments
 (0)