From 9fc37eeb93d6514288fef15cb10fd1df78457d27 Mon Sep 17 00:00:00 2001 From: yaroslav-codefresh Date: Tue, 5 Apr 2022 17:32:36 +0300 Subject: [PATCH] fix release pipeline brew step --- codefresh-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh-release.yml b/codefresh-release.yml index 7b03b1cc9..16a5af056 100644 --- a/codefresh-release.yml +++ b/codefresh-release.yml @@ -321,7 +321,7 @@ steps: image: codefresh/build-cli commands: - VERSION=v${{PACKAGE_VERSION}} - - cp --force codefresh-$VERSION-macos-x64.tar.gz $VERSION.tar.gz + - curl -L https://github.com/codefresh-io/cli/releases/download/$VERSION/codefresh-$VERSION-macos-x64.tar.gz > $VERSION.tar.gz - echo "compute SHA256 ..." - SHA256="$(shasum -a 256 ./$VERSION.tar.gz | awk '{print $1}')" - echo "generate file from template ..." @@ -335,7 +335,7 @@ steps: }" https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/codefresh.rb when: steps: - - name: archive_macos + - name: upload_macos on: - success