Skip to content

Commit ce1152c

Browse files
hub debug
1 parent 22bde43 commit ce1152c

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.github/workflows/swift.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,20 @@ jobs:
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

Scripts/run_prep.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ END
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:"

Scripts/run_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)