Automate Chrome Web Store publishing via GitHub Actions (closes #32)#33
Open
Cyclodex wants to merge 7 commits into
Open
Automate Chrome Web Store publishing via GitHub Actions (closes #32)#33Cyclodex wants to merge 7 commits into
Cyclodex wants to merge 7 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the CI-driven release path described in #32 and the spec at
docs/superpowers/specs/2026-05-13-cws-publishing-automation-design.md.On every push to
main,release-pleasemaintains an auto-updating "Release PR" with version bump + changelog + manifest sync. Merging that Release PR creates the tag + GitHub Release, which firespublish-chrome-web-store.yml— builds viapwsh -File Build.ps1 -CreatePackage, uploads + publishes to the CWS API viamnao305/chrome-extension-upload@v5, and attaches the zip to the GitHub Release.The existing
createRelease.ps1/Build.ps1/updateManifest.jsare preserved unchanged as a manual fallback path.What's in it
release-please-config.json+.release-please-manifest.json(seeded with1.3.5, the currentmainversion)..github/workflows/release-please.yml— orchestrator..github/workflows/publish-chrome-web-store.yml— CWS uploader (triggered onrelease.published; alsoworkflow_dispatchfor smoke tests / manual re-runs).docs/architecture/publishing.md— canonical doc covering both paths, conventional-commit rules, the Release-PR walkthrough, one-time setup, and recovery procedures.RELEASE.mdreframed with the automatic path as default and the manual content preserved.Deferred (depend on PR #31 landing first)
CLAUDE.mdone-line cross-link topublishing.md.docs/architecture/build-and-release.mdcross-link paragraph.Both files only exist on the test-harness branch (#31), not on
main. Once #31 merges, a tiny follow-up commit (or a quick rebase of this PR onto the post-mergemain) adds the two cross-links.Test Plan / how to review
docs/superpowers/specs/2026-05-13-cws-publishing-automation-design.mdif you want the design rationale; the issue Automate Chrome Web Store publishing via GitHub Actions #32 summary is shorter.packages/**or in the PowerShell scripts was touched:git diff main...HEAD -- packages createRelease.ps1 Build.ps1 updateManifest.jsshould be empty.release-please-config.jsonand.release-please-manifest.jsonparse:node -e "JSON.parse(require('fs').readFileSync('release-please-config.json','utf8')); JSON.parse(require('fs').readFileSync('.release-please-manifest.json','utf8')); console.log('OK')".docs/architecture/publishing.mdfor the Release-PR concept and conventional-commit rules.Smoke test (operator: @FabianGander — before/after merge)
Before relying on the auto-trigger:
docs/architecture/publishing.md→ "One-time setup".publish-chrome-web-store→ "Run workflow" → tag1.3.5,publish: false.After that, the next conventional-commit merge to
mainwill produce a Release PR; merging the Release PR will publish for real.Out of scope (follow-up specs)
main.commitlint).Closes #32.