File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1111 type : string
1212 description : " The version number of the release"
1313 required : true
14+ release_branch :
15+ type : string
16+ description : " The release branch with bumped version numbers for the release"
17+ required : true
1418env :
1519 version : ' 5.0.6'
20+ release_branch : ' elliot_test_release'
1621
1722jobs :
1823 build :
3439 p12-password : ${{ secrets.CERTIFICATES_P12_PASSWORD }}
3540 # - name: Bump Version Number
3641 # run: |
37-
42+ - name : Checkout release branch
43+ run : |
44+ git config --local user.email "[email protected] " 45+ git config --local user.name "SyncR 🤖"
46+ git checkout ${{env.release_branch}}
3847 - name : Build Binaries
3948 run : |
4049 cd iOS_SDK/OneSignalSDK
@@ -60,15 +69,15 @@ jobs:
6069 github_token : ${{ secrets.GITHUB_TOKEN }}
6170 repository : ' OneSignal/OneSignal-iOS-SDK'
6271 force : true
63- branch : ${{env.version }}
72+ branch : ${{env.release_branch }}
6473
6574 - name : " Submitting PR"
66756776 with :
6877 route : POST /repos/{owner}/{repo}/pulls
6978 owner : OneSignal
7079 repo : OneSignal-iOS-SDK
71- head : ${{env.version }}
80+ head : ${{env.release_branch }}
7281 base : main
7382 title : |
7483 "Release ${{env.version}}"
You can’t perform that action at this time.
0 commit comments