openwebrx-clone/docker/scripts/build-debian-package.sh
2019-12-08 19:00:34 +01:00

16 lines
253 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
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