[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake-webext/master] Add some publishing info to the README
commit c0b6d25eb3b298428fbaf2968fdf5c0e801dac16
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date: Thu May 7 18:12:12 2020 -0400
Add some publishing info to the README
Trac: 34127
---
README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/README.md b/README.md
index 33b8738..a2547d0 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+# Snowflake
+
This is the browser proxy component of Snowflake.
### Embedding
@@ -82,6 +84,55 @@ Then run the command to copy the new files to the live web servers:
ssh staticiforme 'static-update-component snowflake.torproject.org'
```
+### Publishing
+
+Making a new release involves updating a few places,
+
+1. Uploading the webextension to the Firefox Add-ons and Chrome Web Store
+2. Publishing the new version to the npm repository
+3. Deploying the badge to snowflake.torproject.org
+
+The following is a rough guide to getting that done:
+
+```
+# Clean things up
+npm run clean
+
+# Maybe 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 webext.zip (and 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
+```
+
### Parameters
With no parameters,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits