[tor-bugs] #34127 [Circumvention/Snowflake]: npm publish as part of the release process
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 8 17:21:17 UTC 2020
#34127: npm publish as part of the release process
-------------------------------------+------------------------------
Reporter: arlolra | Owner: (none)
Type: defect | Status: needs_review
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: snowflake-webextension | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+------------------------------
Comment (by arlolra):
The following are the steps I followed to publish `0.3.1`. I can add them
to the above, if that's useful?
{{{
# Clean things up
npm run clean
# I like to check what's left behind
git clean -n -d -x
# Be sure that translation/en/messages.json has been populated with any
new
# strings that may have been merged in the recent patches. It may take
some
# time for transifex to have updated. You can check with the following,
git submodule update --remote
# But note that it's also run as part of the "pack-webext" script, so
return
# it to previously committed state,
git submodule update
# Bump and pack the webext, where "x.y.z" is the version being released
npm run pack-webext x.y.z
# Push the bump commit and tags
git push origin master
git push origin --tags
# Upload the generated .zip's (webext.zip, source.zip) to the webextension
stores,
# 1. https://addons.mozilla.org/en-US/developers/addon/torproject-
snowflake/versions/submit/
# 2. https://chrome.google.com/webstore/devconsole/
# This time, really clean, because we don't want any extraneous files
uploaded
git clean -f -d -x
# Send it off to npm
npm publish
# Clean things up
npm run clean
# From here on out, follow the "Deploying" section of the README
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34127#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list