File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- VERSION =v0.0.369
1
+ VERSION =v0.0.370
2
2
3
3
OUT_DIR =dist
4
4
YEAR? =$(shell date +"% Y")
Original file line number Diff line number Diff line change @@ -245,16 +245,17 @@ steps:
245
245
- echo "generate formula from template ..."
246
246
- sed -e "s/{{ version }}/${{VERSION}}/g" -e "s/{{ revision }}/${{CF_REVISION}}/g" ./brew/template.rb > ${{BREW_NAME}}.rb
247
247
- echo "Updating file in GitHub"
248
- - FORMULA_SHA256=$(curl -X GET https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/${{BREW_NAME}}.rb -H 'Authorization : token '$GITHUB_TOKEN'' | jq .sha)
249
- - echo "sha : ${FORMULA_SHA256}"
248
+ - |
249
+ FORMULA_SHA256=$(curl -X GET https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/${{BREW_NAME}}.rb -H 'Authorization: token '$GITHUB_TOKEN'' | jq .sha)
250
+ - echo "sha - ${FORMULA_SHA256}"
250
251
- |
251
252
STATUS_CODE=$(curl -v -i -X PUT -H 'Authorization: token '$GITHUB_TOKEN'' -d "{ \
252
253
\"message\": \"update formula version $VERSION\", \
253
254
\"content\": \"$(openssl base64 -A -in ${{BREW_NAME}}.rb)\", \
254
255
\"sha\": $FORMULA_SHA256 \
255
256
}" https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/${{BREW_NAME}}.rb \
256
257
-w "%{http_code}")
257
- - echo "STATUS_CODE : ${STATUS_CODE}"
258
+ - echo "STATUS_CODE - ${STATUS_CODE}"
258
259
- |
259
260
if [[ "$STATUS_CODE" -gte 300 ]]; then
260
261
exit 1
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ cf version
23
23
24
24
``` bash
25
25
# download and extract the binary
26
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.369 /cf-linux-amd64.tar.gz | tar zx
26
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.370 /cf-linux-amd64.tar.gz | tar zx
27
27
28
28
# move the binary to your $PATH
29
29
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
36
36
37
37
``` bash
38
38
# download and extract the binary
39
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.369 /cf-darwin-amd64.tar.gz | tar zx
39
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.370 /cf-darwin-amd64.tar.gz | tar zx
40
40
41
41
# move the binary to your $PATH
42
42
mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
namespace : " {{ namespace }}"
6
6
spec :
7
7
defVersion : 1.0.1
8
- version : 0.0.369
8
+ version : 0.0.370
9
9
bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
10
10
components :
11
11
- name : events
You can’t perform that action at this time.
0 commit comments