Skip to content

chore(catalog): add publish-catalog.sh — file catalog bumps via the issue template - #87

Open
ashbrener wants to merge 1 commit into
mainfrom
chore/catalog-publish-script
Open

chore(catalog): add publish-catalog.sh — file catalog bumps via the issue template#87
ashbrener wants to merge 1 commit into
mainfrom
chore/catalog-publish-script

Conversation

@ashbrener

Copy link
Copy Markdown
Owner

Why

spec-kit changed how it intakes community-catalog adds/bumps: submissions now go through a GitHub issue (Extension Submission template), not a hand-edited PR to extensions/catalog.community.json. Direct-JSON PRs are closed-with-redirect — see github/spec-kit#3133.

Our v0.8.0 catalog PR (github/spec-kit#3201) was on that deprecated path. It sat unmerged for ~6 weeks and had CHANGES_REQUESTED; the maintainer's note was "going forward please use extension submission issue template." It's now closed and re-filed correctly as github/spec-kit#4100.

The sibling spec-kit-jira-sync already solved this (its #25). This ports that tooling so we don't repeat the mistake next release.

What

scripts/publish-catalog.sh — one command after gh release create:

scripts/publish-catalog.sh v0.8.0

It pre-fills the submission issue from extension.yml + the released tag (id, display name, version, description, author, repository, download URL, license, homepage, documentation, changelog, spec-kit floor, command count), pre-flights that the tag's archive returns HTTP 200 so a broken install link fails before the issue is opened, and uses your local gh login — no fork, no PAT, no JSON edit.

Only four values differ from the sibling copy (CATALOG_ID, CATALOG_NAME, EXT_REPO, TAGS), all env-overridable; the script documents the copy-to-a-sibling checklist inline.

Verification

…ssue template

spec-kit now intakes community-catalog adds/bumps through a GitHub issue
(Extension Submission template), NOT a hand-edited PR to
extensions/catalog.community.json — direct-JSON PRs are closed-with-redirect
(github/spec-kit#3133). Our v0.8.0 catalog PR (github/spec-kit#3201) was on
that deprecated path and sat unmerged for ~6 weeks; it has been closed and
re-filed as github/spec-kit#4100 via the template.

Port the sibling's scripts/publish-catalog.sh (spec-kit-jira-sync #25) so the
correct path is one command after `gh release create`:

    scripts/publish-catalog.sh v0.8.0

It pre-fills the submission from extension.yml + the released tag (id, name,
version, description, author, repo, download URL, license, homepage, docs,
changelog, speckit floor, command count), pre-flights that the tag's archive
returns HTTP 200, and uses the local `gh` login — no fork, no PAT, no JSON edit.
Only the four sibling-specific values differ (CATALOG_ID, CATALOG_NAME,
EXT_REPO, TAGS).

Release-tooling only; no runtime, command, or behaviour change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant