Fix body output handling in update job for Docker release
This commit is contained in:
parent
4291a6c3ec
commit
a4ed524c9b
@ -26,13 +26,18 @@ jobs:
|
||||
https://api.github.com/repos/naturalcrit/homebrewery/releases/latest)
|
||||
|
||||
echo "tag_name=$(echo "$resp" | jq -r .tag_name)" >> "$GITHUB_OUTPUT"
|
||||
echo "name=$(echo "$resp" | jq -r .name)" >> "$GITHUB_OUTPUT"
|
||||
echo "name=$(echo "$resp" | jq -r .name)" >> "$GITHUB_OUTPUT"
|
||||
echo "id=$(echo "$resp" | jq -r .id)" >> "$GITHUB_OUTPUT"
|
||||
echo "url=$(echo "$resp" | jq -r .url)" >> "$GITHUB_OUTPUT"
|
||||
echo "body=$(echo "$resp" | jq -r .body)" >> "$GITHUB_OUTPUT"
|
||||
echo "draft=$(echo "$resp" | jq -r .draft)" >> "$GITHUB_OUTPUT"
|
||||
echo "prerelease=$(echo "$resp" | jq -r .prerelease)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
{
|
||||
echo "body<<EOF"
|
||||
printf '%s\n' "$body"
|
||||
echo "EOF"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Create Docker Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: ${{ steps.latest_release.id && !steps.latest_release.draft }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user