mirror of https://github.com/tidwall/tile38.git
added .exe to windows binaries
This commit is contained in:
parent
988e6e5fcc
commit
0d0ebf8c7f
5
build.sh
5
build.sh
|
@ -75,8 +75,13 @@ package(){
|
|||
bdir=tile38-${VERSION}-$2-$3
|
||||
rm -rf packages/$bdir && mkdir -p packages/$bdir
|
||||
GOOS=$2 GOARCH=$3 ./build.sh
|
||||
if [ "$2" == "windows" ]; then
|
||||
mv tile38-server packages/$bdir/tile38-server.exe
|
||||
mv tile38-cli packages/$bdir/tile38-cli.exe
|
||||
else
|
||||
mv tile38-server packages/$bdir
|
||||
mv tile38-cli packages/$bdir
|
||||
fi
|
||||
cp README.md packages/$bdir
|
||||
cd packages
|
||||
if [ "$2" == "linux" ]; then
|
||||
|
|
Loading…
Reference in New Issue