openwebrx-clone/docker/scripts/build-debian-package.sh

19 lines
331 B
Bash
Raw Normal View History

2019-12-08 18:00:34 +00:00
#!/usr/bin/env bash
set -euo pipefail
2019-12-08 19:45:30 +00:00
git clone https://github.com/jketterl/openwebrx.git /openwebrx
cd /openwebrx
2019-12-08 18:00:34 +00:00
debuild -uc -us
cd ..
export GPG_TTY=$(tty)
gpg --batch --import <(echo "$SIGN_KEY")
for DEB in `ls *.deb`; do
debsigs --sign=maint -k $SIGN_KEY_ID $DEB
done
dpkg-deb -I *.deb
tar cvfz packages.tar.gz *.deb