This commit is contained in:
@@ -87,6 +87,7 @@ ASSETS=(
|
||||
release-manifest.sig
|
||||
release-public.pem
|
||||
install.sh
|
||||
purge.sh
|
||||
bootstrap-checksums.txt
|
||||
SHA256SUMS
|
||||
)
|
||||
@@ -124,7 +125,7 @@ jq -n \
|
||||
> "$WORK/publish.json"
|
||||
publish_status=$(request PATCH "$API/releases/$RELEASE_ID" "$WORK/published.json" "$WORK/publish.json")
|
||||
[ "$publish_status" = 200 ] || fail "release publication returned HTTP $publish_status"
|
||||
jq -e '.draft == false and .prerelease == false and (.assets | length) == 9' \
|
||||
jq -e '.draft == false and .prerelease == false and (.assets | length) == 10' \
|
||||
"$WORK/published.json" >/dev/null || fail 'published release state is invalid'
|
||||
|
||||
printf 'Published Gitea release %s with nine verified assets\n' "$TAG"
|
||||
printf 'Published Gitea release %s with ten verified assets\n' "$TAG"
|
||||
|
||||
Reference in New Issue
Block a user