Manually update tldjs rules when we create a release tarball

This commit is contained in:
Johannes Zellner
2026-04-03 15:24:33 +02:00
parent dab9bcb9db
commit 1fe5a61e52

View File

@@ -56,7 +56,10 @@ echo "==> Building dashboard assets"
rm -rf "${bundle_dir}/dashboard/node_modules"
echo "==> Installing toplevel node modules"
(cd "${bundle_dir}" && npm ci --omit=dev --omit=optional --tldjs-update-rules)
(cd "${bundle_dir}" && npm ci --omit=dev --omit=optional)
echo "==> Update tldjs rules"
(cd "${bundle_dir}" && node node_modules/tldjs/bin/update.js)
echo "==> Create final tarball"
(cd "${bundle_dir}" && tar czf "${bundle_file}" .)