Tweaked the release script's bower update part.

- Legacy-Id: 12914
This commit is contained in:
Henrik Levkowetz 2017-02-24 10:43:17 +00:00
parent 11497e5f1f
commit 135b961b1d

View file

@ -171,11 +171,13 @@ DEV="$(printf %d.%d.%d.dev0 $MAJOR $MINOR $NEXT)"
#cd $DIR ??
note "Updating bower assets ..."
$do ietf/manage.py bower_install
$do ietf/manage.py bower_install > /dev/null
$do svn st ietf/externals/static | grep -v '^\?'
$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}') || true
$do rm -rf ietf/externals/static/datatracker/
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}')
note "Collecting static files ..."
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"