Skip to content

Commit

Permalink
Automate release builds
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Guggenmos <[email protected]>
  • Loading branch information
slrtbtfs committed Feb 14, 2020
1 parent 9b9ca42 commit cd2e746
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
- store_artifacts:
path: ./artifacts

publish_release:
executor: golang

steps:
- checkout
- run: GO111MODULE=on go get github.com/goreleaser/[email protected]
- run: make release

check_repo_consistency:
executor: golang

Expand Down Expand Up @@ -66,3 +74,26 @@ workflows:
- test
- check_repo_consistency
- crossbuild
- hold:
type:
approval
requires:
- build
- test
- check_repo_consistency
- crossbuild
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/

- publish_release:
requires:
- hold
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/

0 comments on commit cd2e746

Please sign in to comment.