File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 9595 - uses : maxim-lobanov/setup-xcode@v1
9696 with :
9797 xcode-version : 14.1.0
98+ - uses : actions/checkout@v2
99+ with :
100+ # You should create a personal access token and store it in your repository
101+ token : ${{ secrets.CI_USER_TOKEN }}
102+ repository : ' optimizely/travisci-tools'
103+ path : ' home/runner/travisci-tools'
104+ ref : ' master'
105+ - name : Install hub
106+ shell : bash
107+ env :
108+ HOME : ' home/runner'
109+ run : |
110+ # installs hub to ~/bin
111+ $HOME/travisci-tools/release_github/install_hub.sh
98112 - name : Push to cocoapods.org
99113 env :
100114 HOME : ' home/runner'
@@ -105,4 +119,5 @@ jobs:
105119 COCOAPODS_VERSION : ' 1.12.1'
106120 run : |
107121 gem install cocoapods -v $COCOAPODS_VERSION
122+ hub version
108123 Scripts/run_release.sh
Original file line number Diff line number Diff line change 9898 git push -f https://${GITHUB_TOKEN} @github.com/${REPO_SLUG} ${AUTOBRANCH}
9999
100100 # Check hub installation
101+ pwd
101102 hub version
103+ whereis hub
102104 PR_URL=$( hub pull-request -b ${BRANCH} -h ${AUTOBRANCH} -m " ${MESSAGE} " )
103105 echo -e " ${COLOR_CYAN} ATTENTION:${COLOR_RESET} review and merge ${COLOR_CYAN}${PR_URL}${COLOR_RESET} "
104106 echo " then to release to cocoapods use Git action's Trigger build with the following payload:"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function install_binary {
5757 chmod +x ~ /bin/hub${windows: +.exe}
5858 pwd
5959 # verify
60- # ~/bin/hub${windows:+.exe} version
60+ ~ /bin/hub${windows: +.exe} version
6161
6262 # cleanup
6363 rm -rf $tmp_dir
You can’t perform that action at this time.
0 commit comments