@@ -123,11 +123,6 @@ while true ; do
123123 shift
124124done
125125
126- # ----------------------------------------------------------------------
127- # Check some requirements
128-
129- check bower " It is required to update web resources. Install with npm."
130-
131126# ----------------------------------------------------------------------
132127# The program itself
133128
@@ -218,19 +213,15 @@ if [ -z "$PERMIT_MIGR_MIX" ]; then
218213fi
219214
220215if [ -z " $IGNORE_RESOURCES " ]; then
221- note " Updating bower assets ..."
222- $do ietf/manage.py bower_install > .mkrelease-bower-install.log
223- $do rm .mkrelease-bower-install.log # This happens at once unless the previous command returns error
224- $do svn st ietf/externals/static | grep -v ' ^\?' || true
225- $do svn commit ietf/externals/static -m " Updated bower-managed static web assets"
226- # Get rid of bower-installed files which we don't use:
227- $do rm -rf ietf/externals/static/datatracker/
228- $do rm -rf ietf/externals/static/jquery.cookie/
229- $do rm -f $( svn st ietf/externals/ | grep ' ^\?' | awk ' {print $2}' )
216+ note " Updating assets ..."
217+ $do npm install > .mkrelease-npm-install.log
218+ $do rm .mkrelease-npm-install.log # This happens at once unless the previous command returns error
219+ $do npx parcel build > .mkrelease-parcel-build.log
220+ $do rm .mkrelease-parcel-build.log # This happens at once unless the previous command returns error
230221fi
231222
232223note " Collecting static files ..."
233- $do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore= ' README.*' --ignore=rev | grep -v " Found another file with the destination path"
224+ $do ietf/manage.py collectstatic --noinput --ignore=' README.*' --ignore=rev | grep -v " Found another file with the destination path"
234225# $do svn commit static/lib/ -m "Updated static files under static/lib/"
235226
236227# note "Checking that there's a recent test-crawler log"
@@ -344,5 +335,4 @@ cat ~/src/db/mail/release-mail-v$VER.txt | $do mail "${SEND_ARGS}" -s "New datat
344335
345336# Removed at Henrik's suggestion
346337# $do toolsfeed control changelog /www/tools.ietf.org/tools/atomfeed.xml
347- # $do toolpush /www/tools.ietf.org/tools/atomfeed.xml
348-
338+ # $do toolpush /www/tools.ietf.org/tools/atomfeed.xml
0 commit comments