Skip to content

Commit 3dd294f

Browse files
author
Oleg Sucharevich
committed
fix codefresh yaml
1 parent ff1fdcb commit 3dd294f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

codefresh.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)