From f519c2157d8c707ebe7d3e122c6d706f5436d675 Mon Sep 17 00:00:00 2001 From: Artem Cheremnov Date: Fri, 2 Feb 2024 13:56:51 +0300 Subject: [PATCH] Fix: version parse pattern --- .github/workflows/ios-sdk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ios-sdk.yml b/.github/workflows/ios-sdk.yml index 6fc9a93..0472180 100644 --- a/.github/workflows/ios-sdk.yml +++ b/.github/workflows/ios-sdk.yml @@ -107,7 +107,7 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' # Get Version - name: Get Version - run: echo "FRAMEWORK_VERSION=$(cat VCL.xcodeproj/project.pbxproj | grep 'Release' -B 8 | grep PRODUCT_BUNDLE_IDENTIFIER -B 1 | grep MARKETING_VERSION | cut -d'=' -f2 | sed -e 's/^[ \t]*//;s/;//')${{ env.RELEASE_TAG }}" >> $GITHUB_ENV + run: echo "FRAMEWORK_VERSION=$(cat VCL.xcodeproj/project.pbxproj | grep PRODUCT_BUNDLE_IDENTIFIER -B 1 | grep MARKETING_VERSION | cut -d'=' -f2 | sed -e 's/^[ \t]*//;s/;//')${{ env.RELEASE_TAG }}" >> $GITHUB_ENV working-directory: VCL env: RELEASE_TAG: ${{ env.GLOBAL_ENV != 'prod' && format('{0}{1}', '-', env.RC_SUFFIX ) || '' }}