File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed
Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22set -o errexit -o verbose
33
4- if test ! " $BUILD_BINARY " || test ! " $TRAVIS_TAG "
4+ if [ " $TRAVIS_OS_NAME " = " linux " ]
55then
6- echo ' This is not a release build. '
6+ ARCH= " linux "
77else
8- if [ " $TRAVIS_OS_NAME " = " linux" ]
9- then
10- ARCH=" linux"
11- else
12- ARCH=" darwin"
13- fi
14- echo " Installing ghr"
15- URL=" https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_${ARCH} _386.zip"
16- curl -L ${URL} > ghr.zip
17- mkdir -p " $HOME /bin"
18- export PATH=" $HOME /bin:$PATH "
19- unzip ghr.zip -d " $HOME /bin"
20- rm ghr.zip
8+ ARCH=" darwin"
219fi
10+
11+ echo " Installing ghr"
12+ URL=" https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_${ARCH} _386.zip"
13+ curl -L ${URL} > ghr.zip
14+ mkdir -p " $HOME /bin"
15+ export PATH=" $HOME /bin:$PATH "
16+ unzip ghr.zip -d " $HOME /bin"
17+ rm ghr.zip
You can’t perform that action at this time.
0 commit comments