grafana/scripts/build/sign_packages.sh
2018-06-21 10:27:59 +02:00

13 lines
320 B
Bash
Executable File

#!/bin/bash
git clone git@github.com:torkelo/private.git ~/private-repo
gpg --allow-secret-key-import --import ~/private-repo/signing/private.key
cp ./scripts/build/rpmmacros ~/.rpmmacros
for package in dist/*.rpm; do
[ -e "$package" ] || continue
./scripts/build/sign_expect $GPG_KEY_PASSWORD $package
done