Skip to content

Update to Chrome Web Store API v2 - #110

Merged
fregante merged 13 commits into
mainfrom
v2
May 12, 2026
Merged

Update to Chrome Web Store API v2#110
fregante merged 13 commits into
mainfrom
v2

Conversation

@fregante

Copy link
Copy Markdown
Owner

@jebibot

jebibot commented May 12, 2026

Copy link
Copy Markdown

It seems fregante/chrome-webstore-upload#115 requires publisherId, but the CLI doesn't seem to set it?

@fregante

This comment was marked as resolved.

This comment was marked as resolved.

@fregante

This comment was marked as resolved.

This comment was marked as resolved.

Comment thread source/util.js Outdated
@fregante

Copy link
Copy Markdown
Owner Author

@jebibot should be ok now. Use either the flag or ENV

@fregante

Copy link
Copy Markdown
Owner Author

@copilot it uploaded and published the item successfully, but the cli exited with an error

Run npx chrome-webstore-upload-cli@next
npm warn exec The following package was not found and will be installed: chrome-webstore-upload-cli@4.0.0-4
Fetching token...
Uploading artifact...
{
  name: 'publishers/***/items/***',
  itemId: '***',
  crxVersion: '26.5.12',
  uploadState: 'SUCCEEDED'
}
Error: Process completed with exit code 1.

Copilot AI commented May 12, 2026

Copy link
Copy Markdown
Contributor

@copilot it uploaded and published the item successfully, but the cli exited with an error

...

Fixed in 2dccf1a. The v2 API changed uploadState from 'SUCCESS' to 'SUCCEEDED', so isUploadSuccess was returning false even on a successful upload, causing the CLI to exit with code 1.

@fregante
fregante merged commit 5c8d152 into main May 12, 2026
9 checks passed
@fregante
fregante deleted the v2 branch May 12, 2026 12:23
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.

3 participants