We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795ebe7 commit 5f2d0b1Copy full SHA for 5f2d0b1
codefresh.yaml
@@ -25,10 +25,13 @@ steps:
25
stage: Release
26
commands:
27
- export VERSION=$(cat VERSION)
28
+ - export OLD_ORIGIN=$(git remote get-url origin)
29
- git remote rm origin
30
- git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/go-sdk.git
31
- git tag v$VERSION
32
- git push --tags
33
+ - git remote rm origin
34
+ - git remote add origin $OLD_ORIGIN
35
fail_fast: false
36
when:
37
steps:
0 commit comments