Skip to content

Commit 135b961

Browse files
committed
Tweaked the release script's bower update part.
- Legacy-Id: 12914
1 parent 11497e5 commit 135b961

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bin/mkrelease

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ DEV="$(printf %d.%d.%d.dev0 $MAJOR $MINOR $NEXT)"
171171
#cd $DIR ??
172172

173173
note "Updating bower assets ..."
174-
$do ietf/manage.py bower_install
174+
$do ietf/manage.py bower_install > /dev/null
175+
$do svn st ietf/externals/static | grep -v '^\?'
175176
$do svn commit ietf/externals/static -m "Updated bower-managed static web assets"
176177
# Get rid of bower-installed files which we don't use:
177-
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}') || true
178178
$do rm -rf ietf/externals/static/datatracker/
179+
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}')
180+
179181

180182
note "Collecting static files ..."
181183
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"

0 commit comments

Comments
 (0)