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 6bacaa6 commit 72c7264Copy full SHA for 72c7264
build/ci.yml
@@ -27,7 +27,8 @@ steps:
27
- cf_export GOCACHE=/codefresh/volume/gocache # change gopath to codefresh shared volume
28
- cf_export GOPATH=/codefresh/volume/gopath
29
- cf_export PATH=$PATH:/codefresh/volume/gopath/bin
30
- - 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/')
+ - |
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/')
32
- cf_export VERSION=$(make cur-version)
33
when:
34
steps:
0 commit comments