Commit 16b16a10 authored by JC Brand's avatar JC Brand

Make sure JS files in templates are included in package

parent e0088a45
# Release checklist # Release checklist
1. Run `make check` to check that all tests pass. 1. Check that weblate translations are all merged in
2. Run `make release VERSION=7.0.0` 2. Run `make check` to check that all tests pass.
3. Do a `git diff` to check if things look sane. 3. Run `make release VERSION=7.0.0`
4. Do a quick manual test with the `dist` files (via `index.html`) 4. Do a `git diff` to check if things look sane.
5. `git commit -am "Release 7.0.0"` 5. Do a quick manual test with the `dist` files (via `index.html`)
6. `git tag -s v7.0.0 -m "Release 7.0.0"` 6. `git commit -am "Release 7.0.0"`
7. Run `git push && git push --tags` 7. `git tag -s v7.0.0 -m "Release 7.0.0"`
8. Update https://conversejs.org 8. Run `git push && git push --tags`
9. Update https://conversejs.org
* `cd /home/conversejs/converse.js` * `cd /home/conversejs/converse.js`
* `git clone --branch v7.0.0 git@github.com:conversejs/converse.js.git 7.0.0` * `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 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` * `cd .. && git pull && ASSET_PATH=https://cdn.conversejs.org/dist/ make dist && make doc`
9. Update release page on Github 10. Update release page on Github
11. Run `npm publish && cd src/headless/ && npm publish` 11. Run `npm pack` to generate tarballs and upload them to the Github release page
12. Update the repository on weblate 12. Run `npm publish && cd src/headless/ && npm publish`
13. Decide on next release number and run `make postrelease VERSION=7.0.1` 13. Update the repository on weblate
14. Decide on next release number and run `make postrelease VERSION=7.0.1`
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"src/utils/*.js", "src/utils/*.js",
"src/templates/*.html", "src/templates/*.html",
"src/templates/*.svg", "src/templates/*.svg",
"src/templates/*.js",
"src/headless/" "src/headless/"
], ],
"scripts": { "scripts": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment