File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ steps:
1212 image : codefresh/cli
1313 stage : Release
1414 commands :
15- - cf_export VERSION=$(cat VERSION)
15+ - export VERSION=$(cat VERSION)
1616 - git remote rm origin
1717 - git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/go-sdk.git
18- - git tag v${{ VERSION}}
18+ - git tag v$VERSION
1919 - git push --tags
2020 fail_fast : false
2121 when :
@@ -31,13 +31,15 @@ steps:
3131 stage : Release
3232 working_directory : /go/src/github.com/codefresh-io/go-sdk
3333 binds :
34- - ./iris :/go/src/github.com/codefresh-io/go-sdk
34+ - ./go-sdk :/go/src/github.com/codefresh-io/go-sdk
3535 fail_fast : false
3636 commands :
3737 - goreleaser release -f .goreleaser.yml --rm-dist --skip-validate
3838 when :
3939 steps :
4040 - name : CreatingGitTag
41+ on :
42+ - finished
4143 branch :
4244 only :
4345 - master
You can’t perform that action at this time.
0 commit comments