From 44f89015199442338f602a5e359843287ac36b02 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:02:31 -0400 Subject: [PATCH] Fix increment version steps (#3342) --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a754aedfd..103a828fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,7 +145,7 @@ jobs: - name: Increment version run: | - BUILD_NUMBER=$((3000 + $GITHUB_RUN_NUMBER)) + BUILD_NUMBER=$((11000 + $GITHUB_RUN_NUMBER)) echo "##### Setting Android Version Code to $BUILD_NUMBER" | tee -a $GITHUB_STEP_SUMMARY sed -i "s/android:versionCode=\"1\"/android:versionCode=\"$BUILD_NUMBER\"/" \ @@ -354,7 +354,7 @@ jobs: - name: Increment version run: | - BUILD_NUMBER=$((3000 + $GITHUB_RUN_NUMBER)) + BUILD_NUMBER=$((11000 + $GITHUB_RUN_NUMBER)) echo "##### Setting F-Droid Version Code to $BUILD_NUMBER" | tee -a $GITHUB_STEP_SUMMARY sed -i "s/android:versionCode=\"1\"/android:versionCode=\"$BUILD_NUMBER\"/" \ @@ -519,7 +519,7 @@ jobs: - name: Increment version run: | - BUILD_NUMBER=$((100 + $GITHUB_RUN_NUMBER)) + BUILD_NUMBER=$((8000 + $GITHUB_RUN_NUMBER)) echo "##### Setting iOS CFBundleVersion to $BUILD_NUMBER" | tee -a $GITHUB_STEP_SUMMARY perl -0777 -pi.bak -e 's/CFBundleVersion<\/key>\s*1<\/string>/CFBundleVersion<\/key>\n\t'"$BUILD_NUMBER"'<\/string>/' ./${{ env.ios_folder_path }}/Info.plist