Skip to content

Commit

Permalink
Only release if the version has been seen for the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbannister authored Dec 17, 2020
1 parent 44e4401 commit 1b37692
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 @@ -195,7 +195,7 @@ jobs:
command: |
ls -la /tmp/circleci-artifacts/3_6
VERSION=$(cat /tmp/circleci-artifacts/3_6/version.txt)
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} /tmp/circleci-artifacts/3_6/dist
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} /tmp/circleci-artifacts/3_6/dist
workflows:
version: 2
build_all:
Expand Down

0 comments on commit 1b37692

Please sign in to comment.