Skip to content

Commit

Permalink
Automated releases maybe…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaesar committed Jul 5, 2019
1 parent e3959db commit e842e6f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,27 @@ jobs:
- store_artifacts:
path: kafkacat.txz
destination: kafkacat.txz

publish-github-release:
docker:
- image: cibuilds/github:0.10
steps:
- attach_workspace:
at: ./artifacts
- run:
name: "Publish Release on GitHub"
command: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./artifacts/

workflows:
version: 2
main:
jobs:
- build:
- publish-github-release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^\d+\.\d+\.\d+-\d+$/

0 comments on commit e842e6f

Please sign in to comment.