Make sure JS files in templates are included in package

This commit is contained in:
JC Brand 2020-11-18 17:59:59 +01:00
parent e0088a45da
commit 16b16a109e
2 changed files with 15 additions and 12 deletions

View File

@ -1,18 +1,20 @@
# Release checklist
1. Run `make check` to check that all tests pass.
2. Run `make release VERSION=7.0.0`
3. Do a `git diff` to check if things look sane.
4. Do a quick manual test with the `dist` files (via `index.html`)
5. `git commit -am "Release 7.0.0"`
6. `git tag -s v7.0.0 -m "Release 7.0.0"`
7. Run `git push && git push --tags`
8. Update https://conversejs.org
1. Check that weblate translations are all merged in
2. Run `make check` to check that all tests pass.
3. Run `make release VERSION=7.0.0`
4. Do a `git diff` to check if things look sane.
5. Do a quick manual test with the `dist` files (via `index.html`)
6. `git commit -am "Release 7.0.0"`
7. `git tag -s v7.0.0 -m "Release 7.0.0"`
8. Run `git push && git push --tags`
9. Update https://conversejs.org
* `cd /home/conversejs/converse.js`
* `git clone --branch v7.0.0 git@github.com:conversejs/converse.js.git 7.0.0`
* `cd 7.0.0 && ASSET_PATH=https://cdn.conversejs.org/7.0.0/dist/ make dist && make doc`
* `cd .. && git pull && ASSET_PATH=https://cdn.conversejs.org/dist/ make dist && make doc`
9. Update release page on Github
11. Run `npm publish && cd src/headless/ && npm publish`
12. Update the repository on weblate
13. Decide on next release number and run `make postrelease VERSION=7.0.1`
10. Update release page on Github
11. Run `npm pack` to generate tarballs and upload them to the Github release page
12. Run `npm publish && cd src/headless/ && npm publish`
13. Update the repository on weblate
14. Decide on next release number and run `make postrelease VERSION=7.0.1`

View File

@ -16,6 +16,7 @@
"src/utils/*.js",
"src/templates/*.html",
"src/templates/*.svg",
"src/templates/*.js",
"src/headless/"
],
"scripts": {