diff --git a/.circleci/config.yml b/.circleci/config.yml index be2cd87..b0825a8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: