Version bump
This commit is contained in:
parent
0b50c53b22
commit
158a45c9ae
3 changed files with 20 additions and 6 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -673,8 +673,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "empede-tide"
|
name = "empede"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"askama",
|
"askama",
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "empede-tide"
|
name = "empede"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.70"
|
anyhow = "1.0.70"
|
||||||
askama = "0.12.0"
|
askama = "0.12.0"
|
||||||
|
|
16
release.sh
Executable file
16
release.sh
Executable 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
|
Loading…
Reference in a new issue