Skip to content

Commit

Permalink
Merge pull request #98 from velocitycareerlabs/VL-6836
Browse files Browse the repository at this point in the history
Fix: version parse pattern
  • Loading branch information
michaelavoyan authored Feb 4, 2024
2 parents 00bbb96 + f519c21 commit 1bfa193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ios-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) || '' }}
Expand Down

0 comments on commit 1bfa193

Please sign in to comment.