File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 27
27
- cf_export GOCACHE=/codefresh/volume/gocache # change gopath to codefresh shared volume
28
28
- cf_export GOPATH=/codefresh/volume/gopath
29
29
- cf_export PATH=$PATH:/codefresh/volume/gopath/bin
30
- - 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=$LATEST_VERSION
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/')
32
31
- cf_export VERSION=$(make cur-version)
33
32
when :
34
33
steps :
You can’t perform that action at this time.
0 commit comments