bump version, add instructions for AMO upload

This commit is contained in:
Dima Gerasimov 2019-12-09 21:32:14 +00:00
parent 0ca63f1d09
commit 50f08ac3b5
3 changed files with 9 additions and 3 deletions

View file

@ -59,7 +59,7 @@ No third party dependencies! Just `python3`.
* `http://localhost/capture` for talking with backend
* `content_security_policy` needed for webpack
# Building extension
# Building & developing
The most up-to-date instructions should be in [CI config](./.circleci/config.yml).
You're gonna need `npm` for building extension.
@ -72,7 +72,7 @@ After that you can find the extension in `dist` directory and 'Load unpacked** i
## building any host version
If you do need unresticted url permissions, build the extensions like that: `ANY_HOST=yes ./build`.
## Development
## testing and linting
Check [CI config](./.circleci/config.yml) to figure out all the checks I'm doing.
The only test(s) that don't run on CI at the moment (e.g. due to lack of X server) are marked with `@skip_if_ci`. You can run them manually though.
@ -81,6 +81,10 @@ Extra tests (not integrated in CI yet):
- `scripts/test_with_browser.py`
## publishing
- firefox: `./build --firefox --release --lint && web-ext -s dist build`, then upload on [AMO](https://addons.mozilla.org/en-GB/developers/addon/grasp/versions)
# Credits
* Icon made by <a href="https://www.freepik.com/" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>, licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>

2
build
View file

@ -61,6 +61,8 @@ def main():
from firefox_dev_secrets import API_KEY, API_SECRET
webext(
# TODO use UUID? https://addons.mozilla.org/en-GB/developers/addon/grasp/edit
# TODO right, wouldn't work because it's listed..
'--artifacts-dir', str(dist_dir),
'--api-key' , API_KEY,
'--api-secret', API_SECRET,

View file

@ -1,6 +1,6 @@
{
"name": "grasp-extension",
"version": "0.6.4",
"version": "0.6.5",
"description": "A reliable way of capturing web pages and content",
"scripts": {
"build": "webpack --progress --profile --colors",