Skip to content
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

Merged
merged 10 commits into from
Jun 27, 2018
Merged

Conversation

ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Jun 27, 2018

Solves #30

Automatic deployment on tagged releases will be done in a later PR, see #33

.travis.yml Outdated
@@ -3,7 +3,7 @@ node_js:
- "8"

install:
- make install
- npm install
Copy link
Member Author

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.

@ErikBjare ErikBjare changed the title Dev/publish Publish to Chrome Webstore and Mozilla Addons Jun 27, 2018
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}
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Contributor

@ahnlabb ahnlabb left a 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
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@ErikBjare ErikBjare merged commit 397cedb into master Jun 27, 2018
@ErikBjare ErikBjare deleted the dev/publish branch June 27, 2018 11:52
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.

None yet

3 participants