feat(release): make_app.sh re-emits meta.featured (dropped in the section revert)
The featured passthrough was removed when the dedicated-section commit was
reverted; the Featured sidebar row needs it. spec.json {"featured":true} now
sets meta.featured on the published app again.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
8746448cbc
commit
a8ac2f6dce
@ -147,12 +147,15 @@ for ext in svg png; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
FEATURED="$(specget '.featured')"
|
||||||
META="$(jq -cn \
|
META="$(jq -cn \
|
||||||
--arg category "$CATEGORY" --arg description "$DESCRIPTION" \
|
--arg category "$CATEGORY" --arg description "$DESCRIPTION" \
|
||||||
--arg long_description "$LONG_DESCRIPTION" \
|
--arg long_description "$LONG_DESCRIPTION" \
|
||||||
--arg icon "$META_ICON" --arg icon_sha "$META_ICON_SHA" '
|
--arg icon "$META_ICON" --arg icon_sha "$META_ICON_SHA" \
|
||||||
|
--arg featured "$FEATURED" '
|
||||||
{category:$category, description:$description, long_description:$long_description}
|
{category:$category, description:$description, long_description:$long_description}
|
||||||
+ (if $icon != "" then {icon:$icon, icon_sha256:$icon_sha} else {} end)')"
|
+ (if $icon != "" then {icon:$icon, icon_sha256:$icon_sha} else {} end)
|
||||||
|
+ (if $featured == "true" then {featured:true} else {} end)')"
|
||||||
|
|
||||||
# --- build the envelope (§8.1 shape; type:"app", payload.kind:"bundle") -------
|
# --- build the envelope (§8.1 shape; type:"app", payload.kind:"bundle") -------
|
||||||
envelope="$(jq -cn \
|
envelope="$(jq -cn \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user