diff options
Diffstat (limited to '.github/workflows/publish-image.yml')
-rw-r--r-- | .github/workflows/publish-image.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index f6a2874e..8afc46c0 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -61,7 +61,6 @@ jobs: exit 0 } - title="$(hub release show -f "%t" "${VERSION}")" body="$(hub release show -f "%b" "${VERSION}")" if ! [[ "$body" =~ .*'**Checksums:**'.* ]] then @@ -76,4 +75,5 @@ jobs: body="${body%$'\n\`\`\`'*} $checksum \`\`\`" - hub release edit -a "${IMG?}" -m "${title?}" -m "$body" "${VERSION?}" + gh release upload "${VERSION?}" "${asset}" + gh release edit "${VERSION?}" -n "$body" |