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 72c7264 commit 7dd13b3Copy full SHA for 7dd13b3
build/ci.yml
@@ -28,7 +28,8 @@ steps:
28
- cf_export GOPATH=/codefresh/volume/gopath
29
- cf_export PATH=$PATH:/codefresh/volume/gopath/bin
30
- |
31
- cf_export LATEST_VERSION=$(curl --silent -H "Authorization: Bearer ${{GITHUB_TOKEN}}" "https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
+ LATEST_VERSION=$(curl --silent -H "Authorization: Bearer ${{GITHUB_TOKEN}}" "https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
32
+ - cf_export LATEST_VERSION
33
- cf_export VERSION=$(make cur-version)
34
when:
35
steps:
0 commit comments