eas nightlies (#2826)
* add comment to config * add ios build num bump script * remove bak * add bump script for android * github action * add comment to config * testing * testing attempt 2 * add app id * ok add the app id the right way * Apply automatic changes * test the commit message * test the commit message again * Nightly iOS Build Bump * finished --------- Co-authored-by: haileyok <haileyok@users.noreply.github.com>
This commit is contained in:
parent
ad8f9e560d
commit
6d91726e00
6 changed files with 84 additions and 3 deletions
10
scripts/bumpAndroidBuildNumber.sh
Executable file
10
scripts/bumpAndroidBuildNumber.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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"
|
10
scripts/bumpIosBuildNumber.sh
Executable file
10
scripts/bumpIosBuildNumber.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
# The number here should always be the line number the iOS build variable is on
|
||||
line=$(sed "24q;d" ./app.config.js)
|
||||
currentBuildNumber=$(echo "$line" | grep -oE '[0-9]+([.][0-9]+)?')
|
||||
newBuildNumber=$((currentBuildNumber+1))
|
||||
newBuildVariable="const IOS_BUILD_NUMBER = '$newBuildNumber'"
|
||||
sed -i.bak "24s/.*/ $newBuildVariable/" ./app.config.js
|
||||
rm -rf ./app.config.js.bak
|
||||
|
||||
echo "iOS build number bumped to $newBuildNumber"
|
Loading…
Add table
Add a link
Reference in a new issue