Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Dec 9, 2019
1 parent 7c2091f commit 308df7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FORMULA_URL="https://api.github.com/repos/417-72KI/homebrew-${EXECUTABLE_NAME}/c
SHA=`curl GET $FORMULA_URL | jq -r '.sha'`
echo "sha: \n$SHA"

SHA256=$(shasum -a 256 .build/release/${EXECUTABLE_NAME} | cut -d ' ' -f 1)
SHA256=$(shasum -a 256 .build/${EXECUTABLE_NAME}.zip | cut -d ' ' -f 1)
CONTENT_ENCODED=`cat ${FORMULA_PATH}.tmpl | sed -e "s/{{TAG}}/${TAG}/" | sed -e "s/{{SHA256}}/$SHA256/" | openssl enc -e -base64 | tr -d '\n '`
echo "content_encoded: \n$CONTENT_ENCODED"

Expand Down

0 comments on commit 308df7b

Please sign in to comment.