ci: automate extension packaging and Chrome Web Store publishing - #8
Open
d0zingcat wants to merge 1 commit into
Open
ci: automate extension packaging and Chrome Web Store publishing#8d0zingcat wants to merge 1 commit into
d0zingcat wants to merge 1 commit into
Conversation
- Enhance pack-extension.sh to validate JS syntax and output Chrome Web Store .zip packages - Update .github/workflows/release.yml to build extension zip artifacts and publish to GitHub Releases - Add publish-chrome-web-store job with Chrome Web Store API support and graceful skip fallback - Document automated release workflow and required GitHub Actions secrets in docs/contributing.mdx
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 of Changes
This PR enhances the release automation workflow to package the browser extension
.zipand publish directly to both GitHub Releases and the Chrome Web Store.1. Extension Packaging (
pack-extension.sh).ziparchives ready for Chrome Web Store upload (synctabs-extension.zip)..crxgeneration ifextension.pemis present.2. Release Workflow (
.github/workflows/release.yml)build-extensionJob: Builds and uploads the extension.zipas a workflow artifact.releaseJob: Attachessynctabs-extension.zipto the GitHub Release alongside Companion desktop binaries.publish-chrome-web-storeJob: Usesmnao305/chrome-extension-upload@v5to uploadsynctabs-extension.zipand publish to the Chrome Web Store automatically.CHROME_CLIENT_ID/CHROME_REFRESH_TOKENsecrets are not configured, preventing release build failures.3. Documentation (
docs/contributing.mdx)