Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-17 00:59:47 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-17 00:59:47 +0300
commitf05f2fa55ae2fd1800dc2b81d818ffcd6221c601 (patch)
tree1362ace678ac600392f94781a6f2dd60fab35483
parent7a9ad8e3ef317c3a670e2519d4dbd46556298698 (diff)
publish-image.yml: Us gh instead of hub as github API client, to work around https://github.com/github/hub/issues/1817v1.49.0
-rw-r--r--.github/workflows/publish-image.yml4
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"