Update release script to use tag message as release body
@@ -24,11 +24,13 @@ new_github_release() {
fi
tmpfile=$(mktemp)
+ echo "$tmpfile"
cat <<EOH > $tmpfile
{
"tag_name": "$tag",
"name": "$tag",
- "prerelease": $(if [[ $tag =~ -beta ]]; then echo -n "true"; else echo -n "false"; fi)
+ "prerelease": $(if [[ $tag =~ -beta ]]; then echo -n "true"; else echo -n "false"; fi),
+ "body": $(jq -n --arg body "$(git tag -l --format='%(contents)' $tag | tail -n+2)" '$body')
}
EOH
