summaryrefslogtreecommitdiff
path: root/scripts/package-codex-plugin.sh
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-06-30 17:45:41 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-30 17:45:41 -0700
commit79d83245aaf4a730555d8f027ed0c1f8d1639e70 (patch)
tree9e99d823bc5d1e6d332f260d207a113b8809f825 /scripts/package-codex-plugin.sh
parentf0fece940470ce3e53d46cebb1ce9243fc07ae15 (diff)
Preserve hooks in Codex package manifestcodex/pri-2443-codex-package-hooks
Diffstat (limited to 'scripts/package-codex-plugin.sh')
-rwxr-xr-xscripts/package-codex-plugin.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/package-codex-plugin.sh b/scripts/package-codex-plugin.sh
index 91458b5..00399f0 100755
--- a/scripts/package-codex-plugin.sh
+++ b/scripts/package-codex-plugin.sh
@@ -242,12 +242,6 @@ git -C "$REPO_ROOT" archive --format=tar "$REF" -- \
VERSION="$(jq -r '.version // empty' "$STAGE/.codex-plugin/plugin.json")"
[[ -n "$VERSION" ]] || die "could not read version from .codex-plugin/plugin.json"
-if jq -e 'has("hooks")' "$STAGE/.codex-plugin/plugin.json" >/dev/null; then
- manifest_tmp="$WORK_DIR/plugin-manifest.json"
- jq 'del(.hooks)' "$STAGE/.codex-plugin/plugin.json" >"$manifest_tmp"
- mv "$manifest_tmp" "$STAGE/.codex-plugin/plugin.json"
-fi
-
if [[ -z "$OUTPUT" ]]; then
case "$FORMAT" in
zip)