change output filename

This commit is contained in:
Alexander Popov 2021-11-12 07:44:58 +03:00
parent 011f888601
commit 31aeff8191

View File

@ -5,4 +5,11 @@ then
mkdir bin mkdir bin
fi fi
crystal build --progress --no-debug --release src/vk0nline.cr -o bin/vk0nline.x86_64-lnx ARCH=`uname -m`
OS=`uname | tr '[:upper:]' '[:lower:]'`
VERSION=`cat shard.yml | grep -m 1 'version: ' | sed -e 's/version: //g'`
echo "Build $VERSION for `uname` `uname -m`"
crystal build --progress --no-debug --release src/vk0nline.cr -o bin/vk0nline-$VERSION.$OS-$ARCH