Skip to content

Commit

Permalink
Fix 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 cd2e746 commit b41045c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
steps:
- checkout
- run: GO111MODULE=on go get github.com/goreleaser/[email protected]
- run: git reset --hard
- run: make crossbuild
- run: mkdir artifacts
- run: mv dist/*.tar.gz dist/checksums.txt artifacts
Expand All @@ -43,6 +44,7 @@ jobs:
steps:
- checkout
- run: GO111MODULE=on go get github.com/goreleaser/[email protected]
- run: git reset --hard
- run: make release

check_repo_consistency:
Expand Down Expand Up @@ -74,6 +76,33 @@ workflows:
- test
- check_repo_consistency
- crossbuild

release:
jobs:
- build:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- test:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- check_repo_consistency:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- crossbuild:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- hold:
type:
approval
Expand Down

0 comments on commit b41045c

Please sign in to comment.