Skip to content

Commit

Permalink
regex to get PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
Pari Work Temp committed Aug 15, 2024
1 parent 70fb752 commit 72e4c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Update EAS Config
working-directory: ./my_project/mobile
run: |
PR_NUMBER=${{ github.event.number }}
PR_NUMBER=$(echo "$url" | grep -oP '(?<=pr-)\d+')
jq --arg pr_number "$PR_NUMBER" '.build["review_" + $pr_number] = {
"developmentClient": true,
"distribution": "internal",
Expand Down

0 comments on commit 72e4c2e

Please sign in to comment.