Version bump

This commit is contained in:
Sijmen 2023-04-27 18:56:10 +02:00
parent 0b50c53b22
commit 158a45c9ae
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
3 changed files with 20 additions and 6 deletions

4
Cargo.lock generated
View File

@ -673,8 +673,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
[[package]]
name = "empede-tide"
version = "0.1.0"
name = "empede"
version = "0.1.1"
dependencies = [
"anyhow",
"askama",

View File

@ -1,10 +1,8 @@
[package]
name = "empede-tide"
version = "0.1.0"
name = "empede"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.70"
askama = "0.12.0"

16
release.sh Executable file
View File

@ -0,0 +1,16 @@
#!/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