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 a76bc1d commit 6bacaa6Copy full SHA for 6bacaa6
build/ci.yml
@@ -27,7 +27,7 @@ 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/')
+ - 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 VERSION=$(make cur-version)
32
when:
33
steps:
0 commit comments