Skip to content

Commit

Permalink
Validate marketing version in sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Feb 25, 2024
1 parent 5a87fbe commit 5e84ea3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
set -x
version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')"
marketing_version="$(cat Configs/Deployment.xcconfig | grep MARKETING_VERSION | awk '{ print $3 }')"
# Grab all the tags
git fetch --tags
Expand All @@ -35,6 +36,7 @@ jobs:
# Check that the commit message matches the version
git log -1 --pretty=%B | grep "\($version\)"
git log -1 --pretty=%B | grep "\($marketing_version\)"
- name: Create App Store Connect Key file
run: echo "${{ secrets.APP_STORE_CONNECT_KEY }}" | base64 -d > /tmp/AuthKey.p8
Expand Down

0 comments on commit 5e84ea3

Please sign in to comment.