Skip to content

Commit a53cbc8

Browse files
committed
wip
1 parent f154c02 commit a53cbc8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ 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-
- 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/')
3231
- cf_export VERSION=$(make cur-version)
3332
when:
3433
steps:

0 commit comments

Comments
 (0)