Skip to content

Commit c0bf531

Browse files
committed
Tweaked the release script.
- Legacy-Id: 12939
1 parent cbc0e72 commit c0bf531

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

bin/mkrelease

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,17 @@ 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 > /dev/null
175-
$do svn st ietf/externals/static | grep -v '^\?'
174+
$do ietf/manage.py bower_install > .mkrelease-bower-install.log
175+
$do rm .mkrelease-bower-install.log # This happens at once unless the previous command returns error
176+
$do svn st ietf/externals/static | grep -v '^\?' || true
176177
$do svn commit ietf/externals/static -m "Updated bower-managed static web assets"
177178
# Get rid of bower-installed files which we don't use:
178179
$do rm -rf ietf/externals/static/datatracker/
179180
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}')
180181

181182

182183
note "Collecting static files ..."
183-
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"
184+
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' --ignore=rev | grep -v "Found another file with the destination path"
184185
$do svn commit static/lib/ -m "Updated static files under static/lib/"
185186

186187
# note "Checking that there's a recent test-crawler log"

0 commit comments

Comments
 (0)