goveal/.circleci/config.yml

31 lines
585 B
YAML
Raw Normal View History

2019-04-19 22:31:39 +00:00
version: 2
jobs:
build:
2019-04-19 22:34:14 +00:00
docker:
- image: golang:1.12-alpine
steps:
- checkout
- name: Make compile
command: make compile
2019-04-19 22:31:39 +00:00
release:
docker:
- image: circleci/golang:1.12
steps:
- checkout
- run:
name: goreleaser
command: curl -sL https://git.io/goreleaser | bash
workflows:
2019-04-19 22:34:14 +00:00
version: 2
build_and_release:
jobs:
- build
- release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*$/