diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-02-22 09:37:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 09:37:09 +0900 |
commit | c2d87b807554f11cb99694d4b0ccb86905d468c0 (patch) | |
tree | 7bb610b7f4cea62d8b28625ff9814e38cb12079f /scripts/bumpAndroidBuildNumber.sh | |
parent | 6d422bb583bf8946d92fe270b1fe5c760251f0cc (diff) | |
parent | 874489b40227b2ce302e6be840e536e82847842f (diff) | |
download | voidsky-c2d87b807554f11cb99694d4b0ccb86905d468c0.tar.zst |
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'scripts/bumpAndroidBuildNumber.sh')
-rwxr-xr-x | scripts/bumpAndroidBuildNumber.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/bumpAndroidBuildNumber.sh b/scripts/bumpAndroidBuildNumber.sh deleted file mode 100755 index 105f1296d..000000000 --- a/scripts/bumpAndroidBuildNumber.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# The number here should always be the line number the iOS build variable is on -line=$(sed "30q;d" ./app.config.js) -currentBuildNumber=$(echo "$line" | grep -oE '[0-9]+([.][0-9]+)?') -newBuildNumber=$((currentBuildNumber+1)) -newBuildVariable="const ANDROID_VERSION_CODE = '$newBuildNumber'" -sed -i.bak "30s/.*/ $newBuildVariable/" ./app.config.js -rm -rf ./app.config.js.bak - -echo "Android build number bumped to $newBuildNumber" |