goveal/.circleci/config.yml

32 lines
653 B
YAML
Raw Permalink Normal View History

2019-04-19 22:31:39 +00:00
version: 2
jobs:
build:
2019-04-19 22:34:14 +00:00
docker:
2019-04-19 22:36:50 +00:00
- image: circleci/golang:1.12
2019-04-19 22:34:14 +00:00
steps:
- checkout
- run: make compile
2019-04-19 22:31:39 +00:00
release:
docker:
- image: circleci/golang:1.12
steps:
- checkout
- run: GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2
- run: curl -sL https://git.io/goreleaser | bash
2019-04-19 22:31:39 +00:00
workflows:
2019-04-19 22:34:14 +00:00
version: 2
build_and_release:
jobs:
2019-04-19 22:47:01 +00:00
- build:
filters:
tags:
only: /.*/
2019-04-19 22:34:14 +00:00
- release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*$/