We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06691b3 commit 6d0cce5Copy full SHA for 6d0cce5
.circleci/config.yml
@@ -17,4 +17,34 @@ jobs:
17
- save_cache:
18
key: go-mod-v1-{{ checksum "go.sum" }}
19
paths:
20
- - "/go/pkg/mod"
+ - "/go/pkg/mod"
21
+ release:
22
+ docker:
23
+ - image: circleci/golang:1.12
24
+ environment:
25
+ - GO111MODULE=on
26
+ - GITHUB_TOKEN=${GITHUB_TOKEN}
27
+ working_directory: /go/src/github.com/oleiade/trousseau
28
+ steps:
29
+ - checkout
30
+ - restore_cache:
31
+ keys:
32
+ - go-mod-v1-{{ checksum "go.sum" }}
33
+ - run: go mod download
34
+ - run: goreleaser
35
+workflows:
36
+ version: 2
37
+ build-n-deploy:
38
+ jobs:
39
+ - build:
40
+ filters:
41
+ tags:
42
+ only: /.*/
43
+ - deploy:
44
+ requires:
45
+ - build
46
47
48
+ only: /^v.*/
49
+ branches:
50
+ ignore: /.*/
0 commit comments