Skip to content

Commit 2cdf428

Browse files
authored
Merge pull request #25 from codefresh-io/fix_release_tag
release always with "v"
2 parents 1e3798f + afc8e96 commit 2cdf428

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.29.0
1+
0.30.0

codefresh.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ steps:
2020
stage: Release
2121
commands:
2222
- export VERSION=$(cat VERSION)
23+
- VERSION=$(if [[ ${VERSION:0:1} == "v" ]] ; then echo $VERSION; else echo "v${VERSION}"; fi )
2324
- gh release create --repo ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}} -t $VERSION -n $VERSION $VERSION
2425
when:
2526
branch:

0 commit comments

Comments
 (0)