File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ builds :
2+ - env :
3+ - CGO_ENABLED=0
4+ goos :
5+ - darwin
6+ - linux
7+ - windows
8+ archive :
9+ replacements :
10+ darwin : Darwin
11+ linux : Linux
12+ windows : Windows
13+ 386 : i386
14+ amd64 : x86_64
15+ format_overrides :
16+ - goos : windows
17+ format : zip
18+ checksum :
19+ name_template : ' checksums.txt'
20+ snapshot :
21+ name_template : " {{ .Tag }}-next"
22+ changelog :
23+ sort : asc
24+ filters :
25+ exclude :
26+ - ' ^docs:'
27+ - ' ^test:'
Original file line number Diff line number Diff line change 1+ 0.0.1
Original file line number Diff line number Diff line change 1+ version : ' 1.0'
2+
3+ stages :
4+ - Release
5+
6+ mode : parallel
7+
8+ steps :
9+
10+ CreatingGitTag :
11+ title : Push tag to git
12+ image : codefresh/cli
13+ stage : Release
14+ commands :
15+ - cf_export VERSION=$(cat VERSION)
16+ - git remote rm origin
17+ - git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/go-sdk.git
18+ - git tag v${{VERSION}}
19+ - git push --tags
20+ fail_fast : false
21+ when :
22+ steps :
23+ - name : main_clone
24+ branch :
25+ only :
26+ - master
27+
28+ ReleasingBinaries :
29+ title : Create release in Github
30+ image : goreleaser/goreleaser
31+ stage : Release
32+ working_directory : /go/src/github.com/codefresh-io/go-sdk
33+ binds :
34+ - ./iris:/go/src/github.com/codefresh-io/go-sdk
35+ fail_fast : false
36+ commands :
37+ - goreleaser release -f .goreleaser.yml --rm-dist --skip-validate
38+ when :
39+ steps :
40+ - name : CreatingGitTag
41+ branch :
42+ only :
43+ - master
You can’t perform that action at this time.
0 commit comments