Package correct file on windows

This commit is contained in:
Tobie Morgan Hitchcock 2019-12-17 12:32:55 +00:00
parent 3b513e3a8c
commit 5505463380

View file

@ -6,7 +6,7 @@ HASH=${NAME}.txt
FILE=${NAME}.tgz FILE=${NAME}.tgz
GOOS=windows GOARCH=amd64 go build -v -ldflags "$(bash build/flags.sh)" GOOS=windows GOARCH=amd64 go build -v -ldflags "$(bash build/flags.sh)"
tar -zcvf $FILE -s "#^#${NAME}/#" surreal tar -zcvf $FILE -s "#^#${NAME}/#" surreal.exe
echo $(shasum -a 256 $FILE | cut -f1 -d' ') > $HASH echo $(shasum -a 256 $FILE | cut -f1 -d' ') > $HASH