Commit c3795aeb authored by Dominik Charousset's avatar Dominik Charousset

Fix brew PR generation

parent 68a56867
......@@ -174,9 +174,14 @@ curl --data '$github_json' https://api.github.com/repos/actor-framework/actor-fr
" > .make-release-steps.bash
if which brew &>/dev/null ; then
file_name="$tag_version.tar.gz"
file_url="https://github.com/actor-framework/actor-framework/archive/$file_name"
echo "\
brew bump-formula-pr --message=\"Update CAF to version $tag_version\" --url=\"https://github.com/actor-framework/actor-framework/archive/$tag_version.tar.gz\" --sha256=\"\$(git rev-parse HEAD)\" caf
" >> .make-release-steps.bash
curl -O -L $file_url
sha=\$(shasum -a 256 $file_name | awk '{ print \$1 }')
rm $file_name
brew bump-formula-pr --message=\"Update CAF to version $tag_version\" --url=\"$file_url\" --sha256=\"\$sha\" caf
" >> .make-release-steps.bash
fi
if [ -f "$blog_msg" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment