-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish to Chrome Webstore and Mozilla Addons #32
Conversation
.travis.yml
Outdated
@@ -3,7 +3,7 @@ node_js: | |||
- "8" | |||
|
|||
install: | |||
- make install | |||
- npm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Powersource Why did you change this? Changing it back.
Makefile
Outdated
# https://www.npmjs.com/package/firefox-extension-deploy | ||
node scripts/publish-mozilla-addons.sh | ||
# Doing it like this would expose keys, not acceptable | ||
# webstore upload --source extension.zip --extension-id ${WEBSTORE_EXTENSION_ID} --client-id ${WEBSTORE_CLIENT_ID} --client-secret ${WEBSTORE_CLIENT_SECRET} --refresh-token ${REFRESH_TOKEN} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Webstore
by default gets these from envvars, you don't have to specify it.
And shouldn't we be safe by putting them as secret envvars in travis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the only issue is that we'd want to name them something different in the envvars as they might otherwise conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check my comment then let us promptly merge this!
Makefile
Outdated
# Use these to automatically publish | ||
# https://www.npmjs.com/package/chrome-webstore-upload-cli | ||
# https://www.npmjs.com/package/firefox-extension-deploy | ||
node scripts/publish-mozilla-addons.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.sh
? Should be .js
right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
Solves #30
Automatic deployment on tagged releases will be done in a later PR, see #33