mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
.github/publish-image.yml: Migrate from hub to gh
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
ddf7a5faa7
commit
eb35f8344e
4
.github/workflows/publish-image.yml
vendored
4
.github/workflows/publish-image.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
||||
success=false
|
||||
for i in {1..5}
|
||||
do
|
||||
body="$(hub release show -f "%b" "${VERSION}")"
|
||||
body="$(gh release view --json body "${VERSION}" | jq -r '.body')"
|
||||
if ! [[ "$body" =~ .*'**Checksums:**'.* ]]
|
||||
then
|
||||
|
||||
@ -80,7 +80,7 @@ jobs:
|
||||
\`\`\`"
|
||||
|
||||
gh release edit "${VERSION?}" -n "$body"
|
||||
if hub release show -f "%b" "${VERSION}" | grep "$checksum"
|
||||
if gh release view --json body "${VERSION}" | jq -r '.body' | grep "$checksum"
|
||||
then
|
||||
success=true
|
||||
break
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user