Remove old release script [ci skip]

This commit is contained in:
Sijmen 2023-04-28 01:34:39 +02:00
parent 76fb64e2ee
commit 6aa01df7d7
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
#!/bin/sh
set -ex
cargo build --release
rm -rf release/empede-$1-x86_64-linux
mkdir -p release/empede-$1-x86_64-linux
cp -r target/release/empede static/ README.md release/empede-$1-x86_64-linux
if [ ! -z "$NIX_STORE" ]; then
patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 release/empede-$1-x86_64-linux/empede
fi
strip release/empede-$1-x86_64-linux/empede
cd release
tar czf empede-$1-x86_64-linux.tar.gz empede-$1-x86_64-linux