Merge claude/2
This commit is contained in:
commit
06164fedd4
@ -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