From 63e149d974912efc70160e8373d27b21c1d1db4d Mon Sep 17 00:00:00 2001 From: Graeme Arthur Date: Tue, 12 Sep 2023 16:55:13 +0200 Subject: [PATCH] Fix build version reading --- .github/workflows/alpha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index feedab022f..ddf1fae18a 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -81,7 +81,7 @@ jobs: app_version="$(cut -d ' ' -f 3 < Configuration/Version.xcconfig)" bundle exec fastlane increment_build_number_for_version version:$app_version app_identifier:"com.duckduckgo.mobile.ios.alpha" bundle exec fastlane release_alpha groups:"${{ steps.destination.outputs.destination }}" - build_version="$(cat DuckDuckGo.xcodeproj/project.pbxproj | grep -m1 'CURRENT_PROJ ECT_VERSION' | cut -d'=' -f2 | tr -d ';' | tr -d ' ')" + build_version="$(xcodebuild -configuration Alpha -showBuildSettings | grep CURRENT_PROJECT_VERSION | tr -d 'CURRENT_PROJECT_VERSION =')" echo "dsyms_path=${{ github.workspace }}/DuckDuckGo-Alpha.app.dSYM.zip" >> $GITHUB_ENV echo "app_version=${app_version}" >> $GITHUB_ENV echo "build_version=${build_version}" >> $GITHUB_ENV