Skip to content

Commit b640cbd

Browse files
committed
CircleCI: Add proper tagging to github release
1 parent f18b8e5 commit b640cbd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
name: Publish GitHub release
3636
command: |
3737
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} \
38-
-delete "Continous Build" ./artifacts/
38+
-delete ${CIRCLE_TAG} ./artifacts/
3939
4040
workflows:
4141
version: 2
@@ -45,3 +45,7 @@ workflows:
4545
- publish-github-release:
4646
requires:
4747
- build
48+
branches:
49+
only: [master]
50+
tags:
51+
only: /.*/

0 commit comments

Comments
 (0)