Skip to content

Commit

Permalink
Release: only delete core file if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Jul 19, 2018
1 parent 949273a commit 26416e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interfacer/src/browsh/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package browsh

var browshVersion = "1.4.4"
var browshVersion = "1.4.5"
6 changes: 5 additions & 1 deletion webext/contrib/bundle_webextension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ NODE_BIN=$PROJECT_ROOT/webext/node_modules/.bin
destination=$PROJECT_ROOT/interfacer/src/browsh/webextension.go

cd $PROJECT_ROOT/webext && $NODE_BIN/webpack
cd $PROJECT_ROOT/webext/dist && rm *.map && rm core
cd $PROJECT_ROOT/webext/dist && rm *.map
if [ -f core ] ; then
# Is this a core dump for some failed process?
rm core
fi
ls -alh .
$NODE_BIN/web-ext build --overwrite-dest
ls -alh web-ext-artifacts
Expand Down

0 comments on commit 26416e2

Please sign in to comment.