Skip to content

Commit b1ec1b8

Browse files
fix release pipeline brew step (#739)
1 parent b8191e1 commit b1ec1b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codefresh-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ steps:
321321
image: codefresh/build-cli
322322
commands:
323323
- VERSION=v${{PACKAGE_VERSION}}
324-
- cp --force codefresh-$VERSION-macos-x64.tar.gz $VERSION.tar.gz
324+
- curl -L https://github.com/codefresh-io/cli/releases/download/$VERSION/codefresh-$VERSION-macos-x64.tar.gz > $VERSION.tar.gz
325325
- echo "compute SHA256 ..."
326326
- SHA256="$(shasum -a 256 ./$VERSION.tar.gz | awk '{print $1}')"
327327
- echo "generate file from template ..."
@@ -335,7 +335,7 @@ steps:
335335
}" https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/codefresh.rb
336336
when:
337337
steps:
338-
- name: archive_macos
338+
- name: upload_macos
339339
on:
340340
- success
341341

0 commit comments

Comments
 (0)