2023-08-18 00:54:05 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
2023-10-05 16:29:19 +00:00
|
|
|
|
|
|
|
VERSION=`cat Cargo.toml | grep "^version =" | sed -r 's/^version = "(.+)"$/\1/'`
|
2023-08-18 00:54:05 +00:00
|
|
|
|
|
|
|
mkdir -p dist
|
|
|
|
cp dashboard.desktop dist
|
|
|
|
cp ../target/release/dashboard dist
|
|
|
|
strip dist/dashboard
|
2023-10-05 16:29:19 +00:00
|
|
|
tar -czf dashboard-${VERSION}.tgz dist/
|
2023-08-18 00:54:05 +00:00
|
|
|
|