Skip to content

Commit

Permalink
Use circleci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
barnybug committed Jan 9, 2019
1 parent c464cfb commit beae3a4
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
steps:
- checkout
- run: make deps test-coverage
filters:
tags:
only: /^\d+\.\d+\.\d+$/
release:
docker:
- image: circleci/golang:1.10
Expand All @@ -20,9 +17,19 @@ jobs:
command: |
mkdir -p $GOPATH/bin && wget -q https://github.com/barnybug/cli53/releases/download/0.6.0/upx -O $GOPATH/bin/upx && chmod +x $GOPATH/bin/upx
- run: curl -sL https://git.io/goreleaser | VERSION=v0.34.2 bash
requires: [build]
filters:
branches:
ignore: /.*/
tags:
only: /^\d+\.\d+\.\d+$/

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

0 comments on commit beae3a4

Please sign in to comment.