Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Jan 22, 2018
1 parent cc7ed86 commit 3e7fd47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ aliases:

- &step_build
run:
name: Build ${CIRCLE_PROJECT_REPONAME}
name: Build project
command: mint-build -i

- &step_deploy
run:
name: Prepare Packages
name: Prepare packages
command: |
if [ -z $CI_PULL_REQUEST ]; then
RELEASE="${CIRCLE_PROJECT_REPONAME}_${CIRCLE_JOB}_${CIRCLE_SHA1}"
Expand All @@ -32,10 +32,11 @@ aliases:
gzip ${RELEASE}.tar
fi
run:
name: Deploy to Github
name: Deploy packages to Github
command: |
if [ -z $CI_PULL_REQUEST ]; then
wget https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip
apt-get install --yes unzip
unzip ghr_v0.5.4_linux_amd64.zip
TAG="CIRCLECI-".`git rev-parse --abbrev-ref HEAD`.$CIRCLE_JOB
RELEASE="${CIRCLE_PROJECT_REPONAME}_${CIRCLE_JOB}_${CIRCLE_SHA1}"
Expand Down

0 comments on commit 3e7fd47

Please sign in to comment.