Skip to content

Commit 0e9a2c2

Browse files
committed
Use the Circle tag env var
1 parent 92ac26f commit 0e9a2c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
name: "Publish Release on GitHub"
4949
command: |
5050
go get github.com/tcnksm/ghr
51-
VERSION=$(./git-wiz --version)
52-
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
51+
VERSION=${CIRCLE_TAG}
52+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./build/
5353
5454
workflows:
5555
version: 2

0 commit comments

Comments
 (0)