From 113c2e2704095ae17aa48576520ca56b5c45ad5a Mon Sep 17 00:00:00 2001 From: benny-n Date: Wed, 27 Apr 2022 00:55:07 +0300 Subject: [PATCH] fix: release on homebrew --- .github/workflows/on-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index ae1d1caf..1cca6ef7 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -35,7 +35,7 @@ jobs: FILE=replibyte_${RELEASE_NAME}_x86_64-unknown-linux-musl sudo mv replibyte $FILE sudo tar -czvf ${FILE}.tar.gz $FILE && sudo rm $FILE - sudo touch ${FILE}.sha256sum && sudo chmod 777 ${FILE}.sha256sum + sudo touch ${FILE}.tar.gz.sha256sum && sudo chmod 777 ${FILE}.tar.gz.sha256sum sudo sha256sum "${FILE}.tar.gz" | cut -d ' ' -f 1 > ${FILE}.tar.gz.sha256sum - name: Release @@ -75,7 +75,7 @@ jobs: FILE=replibyte_${RELEASE_NAME}_x86_64-pc-windows-gnu.exe sudo mv replibyte.exe $FILE sudo zip -9r ${FILE}.zip $FILE && sudo rm $FILE - sudo touch ${FILE}.sha256sum && sudo chmod 777 ${FILE}.sha256sum + sudo touch ${FILE}.zip.sha256sum && sudo chmod 777 ${FILE}.zip.sha256sum sudo sha256sum "${FILE}.zip" | cut -d ' ' -f 1 > ${FILE}.zip.sha256sum - name: Release @@ -116,7 +116,7 @@ jobs: FILE=replibyte_${RELEASE_NAME}_x86_64-apple-darwin sudo mv replibyte $FILE sudo zip -9r ${FILE}.zip $FILE && sudo rm $FILE - sudo touch ${FILE}.sha256sum && sudo chmod 777 ${FILE}.sha256sum + sudo touch ${FILE}.zip.sha256sum && sudo chmod 777 ${FILE}.zip.sha256sum sudo sha256sum "${FILE}.zip" | cut -d ' ' -f 1 > ${FILE}.zip.sha256sum - name: Release