-
Notifications
You must be signed in to change notification settings - Fork 0
Home
For general details on the extension see README.md
.
Step by step instructions how to release the Resume YouTube Subs Chrome extension.
-
Install the
git
andjq
tools. This only needs to be done once.
Under Ubuntu/Debian/Mint Linux you can install them by running:sudo apt install git jq
-
Change the working directory of your shell to the main directory of the extension code (the directory with
manifest.json
).Note: All commands are intended for the Bash shell under Linux.
-
Double check files for remaining TODOs that should be resolved as part of this release.
grep -rInH --exclude-dir=.git TODO .
-
Test the extension multiple times (at least 10 times each) for each supported configuration.
The supported configurations are:- Chrome stable + The YouTube subscriptions page in grid view.
- Chrome stable + The YouTube subscriptions page in list view.
-
Make sure the documentation is up to date. Double check the following files:
README.md
- Wiki
-
Increase the extension version in
manifest.json
. The version number adheres to the semantic versioning rules. -
Commit the changes after double checking that all new files (if there are any) are actually included in the commit(s).
-
Tag
HEAD
commit with the new version frommanifest.json
.version=$(jq -r '.version' manifest.json) && git tag "v${version}" HEAD
-
Push commit(s) and new version tag upstream.
git push origin --tags
-
Create a zip archive of the extension for the upload to the Chrome Web Store.
Note: The zip archive will be created in the parent directory.
version=$(jq -r '.version' manifest.json) && git archive -o "../resume-youtube-subs-${version}.zip" -9 "v${version}"
-
Upload the zip archive to the Chrome Web Store Developer Dashboard via the
New item
button. -
Once the update of the extension is approved double check that the update actually is published.