v0.1.0
This commit is contained in:
commit
fa432bebda
189 files changed
+26219
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build release archives + checksums for x86_64 and aarch64 (requires `cross` or native toolchains).
|
||||
set -euo pipefail
|
||||
VERSION="$(grep -m1 '^version' Cargo.toml | cut -d'"' -f2)"
|
||||
mkdir -p dist target/man
|
||||
for TARGET in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
|
||||
if command -v cross >/dev/null; then B=cross; else B=cargo; fi
|
||||
$B build --release --locked --target "$TARGET" -p dns-cli -p dns-tools
|
||||
D="dist/easydns-$VERSION-$TARGET"; mkdir -p "$D"
|
||||
cp target/$TARGET/release/{easydns,easydig,easyhost,easynslookup,easytrace,easydnssec,easyptr,easyzone,easyconf,easybench,easywhois,easydoh,easydot,easydiff} "$D/"
|
||||
cp -r config README.md LICENSE* deploy/systemd deploy/install.sh "$D/"
|
||||
tar -C dist -czf "$D.tar.gz" "$(basename "$D")"
|
||||
done
|
||||
target/release/easydns man > target/man/easydns.1 || true
|
||||
(cd dist && sha256sum ./*.tar.gz > SHA256SUMS)
|
||||
echo "artifacts in dist/"
|
||||
Reference in new issue
Block a user