Skip to content

Commit

Permalink
Fix releasing a build
Browse files Browse the repository at this point in the history
  • Loading branch information
TarCV committed Feb 24, 2019
1 parent 6036838 commit 45a297a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- run:
name: "Publish Release on GitHub"
command: |
VERSION=$(grep version <build.gradle | cut -c10- | rev | cut -c1- | rev)
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/libs/*
VERSION=$(grep version <build.gradle | cut -c10- | rev | cut -c2- | rev)
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/libs/konan/bin/linux_x64/*
workflows:
version: 2
Expand Down

0 comments on commit 45a297a

Please sign in to comment.