File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 31
31
steps :
32
32
- checkout
33
33
-
run :
GO111MODULE=on go get github.com/goreleaser/[email protected]
34
+ - run : git reset --hard
34
35
- run : make crossbuild
35
36
- run : mkdir artifacts
36
37
- run : mv dist/*.tar.gz dist/checksums.txt artifacts
43
44
steps :
44
45
- checkout
45
46
-
run :
GO111MODULE=on go get github.com/goreleaser/[email protected]
47
+ - run : git reset --hard
46
48
- run : make release
47
49
48
50
check_repo_consistency :
@@ -74,6 +76,33 @@ workflows:
74
76
- test
75
77
- check_repo_consistency
76
78
- crossbuild
79
+
80
+ release :
81
+ jobs :
82
+ - build :
83
+ filters :
84
+ branches :
85
+ ignore : /.*/
86
+ tags :
87
+ only : /v[0-9]+(\.[0-9]+)*(-.*)*/
88
+ - test :
89
+ filters :
90
+ branches :
91
+ ignore : /.*/
92
+ tags :
93
+ only : /v[0-9]+(\.[0-9]+)*(-.*)*/
94
+ - check_repo_consistency :
95
+ filters :
96
+ branches :
97
+ ignore : /.*/
98
+ tags :
99
+ only : /v[0-9]+(\.[0-9]+)*(-.*)*/
100
+ - crossbuild :
101
+ filters :
102
+ branches :
103
+ ignore : /.*/
104
+ tags :
105
+ only : /v[0-9]+(\.[0-9]+)*(-.*)*/
77
106
- hold :
78
107
type :
79
108
approval
You can’t perform that action at this time.
0 commit comments