Skip to content

Commit

Permalink
Tweak CI, no more wrong version releases
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaNova21 committed Apr 28, 2019
1 parent 39e40da commit a002d47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- run:
name: "Build All"
command: |
cp VERSION config.sample.yml dist/
bash build.sh $(cat VERSION)
bash build.sh
- save_cache:
key: v1-pkg-cache
paths:
Expand All @@ -40,8 +39,7 @@ jobs:
- run:
name: "Publish Release on GitHub"
command: |
VERSION=$(cat ./artifacts/VERSION)
rm ./artifacts/VERSION
VERSION=${CIRCLE_TAG}
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
workflows:
version: 2
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit a002d47

Please sign in to comment.