Skip to content

Commit 5f2d0b1

Browse files
author
Oleg Sucharevich
committed
update tag step
1 parent 795ebe7 commit 5f2d0b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

codefresh.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ steps:
2525
stage: Release
2626
commands:
2727
- export VERSION=$(cat VERSION)
28+
- export OLD_ORIGIN=$(git remote get-url origin)
2829
- git remote rm origin
2930
- git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/go-sdk.git
3031
- git tag v$VERSION
3132
- git push --tags
33+
- git remote rm origin
34+
- git remote add origin $OLD_ORIGIN
3235
fail_fast: false
3336
when:
3437
steps:

0 commit comments

Comments
 (0)