diff options
author | Jan-Olof Eriksson <jan-olof.eriksson@iki.fi> | 2024-02-24 16:37:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 16:37:08 +0200 |
commit | 1f9562847512bb41cd8bb381b735a388be4db59b (patch) | |
tree | 2181860f0f4cde3b4e24b5d6045420cc86083d91 /scripts/bumpAndroidBuildNumber.sh | |
parent | 38fd4282f88ac020ee72d5a6324191ee80798450 (diff) | |
parent | d38f168de593b0a7883180ee51bf043eb1557dd2 (diff) | |
download | voidsky-1f9562847512bb41cd8bb381b735a388be4db59b.tar.zst |
Merge branch 'bluesky-social:main' into main
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" |