Jelajahi Sumber

Make sure JS files in templates are included in package

JC Brand 4 tahun lalu
induk
melakukan
16b16a109e
2 mengubah file dengan 15 tambahan dan 12 penghapusan
  1. 14 12
      RELEASE.md
  2. 1 0
      package.json

+ 14 - 12
RELEASE.md

@@ -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`

+ 1 - 0
package.json

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