Tweak packaging script
This commit is contained in:
parent
a65cca44e5
commit
d26bb75ebc
2
Makefile
2
Makefile
@ -61,7 +61,7 @@ setup:
|
||||
|
||||
clean:
|
||||
rm -f ./pgweb
|
||||
rm -f ./bin/*
|
||||
rm -rf ./bin/*
|
||||
rm -f bindata.go
|
||||
make assets
|
||||
|
||||
|
@ -3,12 +3,12 @@
|
||||
set -e
|
||||
|
||||
DIR="./bin"
|
||||
rm $DIR/*.zip
|
||||
rm -f $DIR/*.zip
|
||||
|
||||
for file in $(ls $DIR)
|
||||
do
|
||||
fin=$DIR/$file
|
||||
fout=$DIR/$file.zip
|
||||
shasum -a 256 $fin
|
||||
zip -9 -q $fout $fin
|
||||
zip -9 -q -j $fout $fin
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user