diff --git a/bin/mkrelease b/bin/mkrelease index 3bc376cd1..b02445800 100755 --- a/bin/mkrelease +++ b/bin/mkrelease @@ -173,6 +173,9 @@ DEV="$(printf %d.%d.%d.dev0 $MAJOR $MINOR $NEXT)" note "Updating bower assets ..." $do ietf/manage.py bower_install $do svn commit ietf/externals/static -m "Updated bower-managed static web assets" +# Get rid of bower-installed files which we don't use: +$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}') +$do rm -rf rm -rf ietf/externals/static/datatracker/ note "Collecting static files ..." $do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"