Fixed CircleCI yaml config

This commit is contained in:
Peter 2019-04-20 00:34:14 +02:00
parent f2c0c0e200
commit 23445b9bda
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -1,12 +1,12 @@
version: 2
jobs:
build:
docker:
- image: golang:1.12-alpine
steps:
- checkout
- name: Make compile
command: make compile
docker:
- image: golang:1.12-alpine
steps:
- checkout
- name: Make compile
command: make compile
release:
docker:
- image: circleci/golang:1.12
@ -16,15 +16,15 @@ jobs:
name: goreleaser
command: curl -sL https://git.io/goreleaser | bash
workflows:
version: 2
build_and_release:
jobs:
- build
- release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*$/
version: 2
build_and_release:
jobs:
- build
- release:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*$/