This repository was archived by the owner on Jun 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 7171
7272 - stage : Push Image (only with a tag) & Git push
7373 script :
74+ - travis_retry ./test/install_hub_cli
7475 - travis_retry ./test/before_install_pull
7576 - ./test/script_push
Original file line number Diff line number Diff line change @@ -12,10 +12,8 @@ if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
1212 # docker --version && exit 1 #that's how I'll know
1313 ./test/before_install_docker_osx
1414 # https://github.com/github/hub#homebrew
15- brew install hub
1615else
1716 sudo -E bash -c ' ./test/before_install_docker_linux'
18- sudo -E bash -c ' ./test/install_hub_cli'
1917fi
2018docker --version || (echo " FATAL: No docker installed" && exit 1)
2119
Original file line number Diff line number Diff line change 44# set -x: print each command right before it is executed
55set -xe
66
7- mkdir -p tmp_hub
8- cd tmp_hub
7+ if [ " ${TRAVIS_OS_NAME} " = " osx" ]; then
8+ brew install hub
9+ else
10+ mkdir -p tmp_hub
11+ cd tmp_hub
912
10- wget -nv -O hub.tgz " https://github.com/github/hub/releases/download/v2.3.0-pre10/hub-linux-amd64-2.3.0-pre10.tgz"
11- tar -xvzf hub.tgz
12- ./hub* /bin/hub --version
13- mv hub* /bin/hub /usr/bin/
13+ wget -nv -O hub.tgz " https://github.com/github/hub/releases/download/v2.3.0-pre10/hub-linux-amd64-2.3.0-pre10.tgz"
14+ tar -xvzf hub.tgz
15+ ./hub* /bin/hub --version
16+ sudo mv hub* /bin/hub /usr/bin/
1417
15- cd ..
16- rm -rf tmp_hub
18+ cd ..
19+ rm -rf tmp_hub
20+ fi
Original file line number Diff line number Diff line change @@ -188,9 +188,15 @@ add_commits_to_NEXT_RELEASE() {
188188 --author=' ^(?!Leo Gallucci Bot).*$' --perl-regexp \
189189 ${TBD_PREV_COM} ..HEAD > git_shortlog.stdout
190190
191+ # Delete empty lines
192+ sed -i -e ' /^\s*$/d' git_shortlog.stdout
193+
191194 # Add some indentation prefix
192195 sed -i -e ' s/^/ + /' git_shortlog.stdout
193196
197+ # Fix prefix for commits lines
198+ sed -i -e ' s/^\s*+\s*\[/ * \[/' git_shortlog.stdout
199+
194200 # Use a temporal file
195201 rm -f temp.md
196202 mv NEXT_RELEASE.md temp.md
You can’t perform that action at this time.
0 commit comments