Manually update tldjs rules when we create a release tarball
This commit is contained in:
@@ -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}" .)
|
||||
|
||||
Reference in New Issue
Block a user