Skip to content

Commit 72c7264

Browse files
committed
wip
1 parent 6bacaa6 commit 72c7264

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ steps:
2727
- cf_export GOCACHE=/codefresh/volume/gocache # change gopath to codefresh shared volume
2828
- cf_export GOPATH=/codefresh/volume/gopath
2929
- 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/')
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/')
3132
- cf_export VERSION=$(make cur-version)
3233
when:
3334
steps:

0 commit comments

Comments
 (0)