update to 0.2.6
This commit is contained in:
@@ -15,9 +15,11 @@ libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
|
||||
if [ -z $libc ];
|
||||
then
|
||||
# build libc
|
||||
crystal build ./src/pmng.cr --release --progress -L/usr/lib/ -o ./dist/pmng-0.2.5-linux-x86_64
|
||||
OUTPUT=pmng-$(shards version)-linux-x86_64
|
||||
crystal build ./src/pmng.cr --release --progress -o ./dist/$OUTPUT
|
||||
tar -cJf ./dist/$OUTPUT.tar.xz ./dist/$OUTPUT
|
||||
else
|
||||
# Build musl
|
||||
crystal build ./src/pmng.cr --release --progress -o ./dist/pmng-0.2.5-linux-musl-x86_64
|
||||
crystal build ./src/pmng.cr --release --progress -o ./dist/pmng-$(shards version)-linux-musl-x86_64
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user