Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Fix ghr download
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Apr 13, 2019
1 parent 283e71d commit e17da42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
name: Deploy
command: |
if [ "$CIRCLE_TAG" != "" ]; then
curl -sSL https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.zip -o ghr.zip
unzip ghr.zip
curl -sSL https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz -o ghr.tar.gz
tar xzf ghr.tar.gz
if [[ $CIRCLE_TAG = *"rc"* ]]; then
pre=-prerelease
fi
./ghr $pre -u hypriot $CIRCLE_TAG output/
./ghr_v0.12.0_linux_amd64/ghr $pre -u hypriot $CIRCLE_TAG output/
fi
workflows:
Expand Down

0 comments on commit e17da42

Please sign in to comment.