File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Bump Podfile.lock
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ bump-podfile-lock :
8+ runs-on : macos-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+ fetch-tags : true
15+ - name : Install dependencies
16+ uses : ./.github/actions/yarn-install
17+ - name : Configure git
18+ run : |
19+ git config --local user.email "[email protected] " 20+ git config --local user.name "React Native Bot"
21+ - name : Extract branch name
22+ run : |
23+ TAG="${{ github.ref_name }}";
24+ BRANCH_NAME=$(echo "$TAG" | sed -E 's/v([0-9]+\.[0-9]+)\.[0-9]+(-rc\.[0-9]+)?/\1-stable/')
25+ echo "Branch Name is $BRANCH_NAME"
26+ echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
27+ - name : Checkout release branch
28+ run : |
29+ git checkout "$BRANCH_NAME"
30+ git fetch
31+ git pull origin "$BRANCH_NAME"
32+ - name : Bump podfile.lock
33+ run : |
34+ cd packages/rn-tester
35+ bundle install
36+ bundle exec pod update hermes-engine --no-repo-update
37+ - name : Commit changes
38+ run : |
39+ git add packages/rn-tester/Podfile.lock
40+ git commit -m "[LOCAL] Bump Podfile.lock"
41+ git push origin "$BRANCH_NAME"
Original file line number Diff line number Diff line change @@ -237,3 +237,8 @@ jobs:
237237 const {verifyArtifactsAreOnMaven} = require('./.github/workflow-scripts/verifyArtifactsAreOnMaven.js');
238238 const version = "${{ github.ref_name }}";
239239 await verifyArtifactsAreOnMaven(version);
240+
241+ bump-podfile-lock :
242+ needs : build_npm_package
243+ uses : ./.github/workflows/bump-podfile-lock.yml
244+ secrets : inherit
You can’t perform that action at this time.
0 commit comments