Fixed a bug where linux builds had bad names

This commit is contained in:
Antoine Gersant 2017-07-08 17:54:37 -07:00
parent 0c9ecc46d9
commit 2351d62b67

View file

@ -7,7 +7,7 @@ cp -r web src Cargo.toml Cargo.lock res/unix/Makefile release/tmp
cp res/default_config.toml release/tmp/polaris.toml
echo "Creating tarball"
POLARIS_VERSION=$(grep ^version Cargo.toml | awk '{print $3}' | tr -d '"\r\n')
POLARIS_VERSION=$(grep -m 1 ^version Cargo.toml | awk '{print $3}' | tr -d '"\r\n')
tar -zc -C release/tmp -f release/polaris-$POLARIS_VERSION.tar.gz .
echo "Cleaning up"