Skip to content

Commit

Permalink
use CIRCLE_TAG as version in deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin Stan committed Jun 24, 2019
1 parent 37c4f3d commit ca6d785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
mkdir artifacts
cp $(./pleasew query output //:protoc-gen-persist-linux-amd64) artifacts/protoc-gen-persist-${CIRCLE_TAG}-linux-amd64.tar.gz
cp $(./pleasew query output //:protoc-gen-persist-darwin-amd64) artifacts/protoc-gen-persist-${CIRCLE_TAG}-darwin-amd64.tar.gz
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${VERSION} ./artifacts/
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./artifacts/
workflows:
version: 2.1
Expand Down

0 comments on commit ca6d785

Please sign in to comment.