From b23d261b7e280ead99ba0e57fe891922b968e015 Mon Sep 17 00:00:00 2001 From: matte22 Date: Wed, 21 Feb 2024 14:26:57 -0500 Subject: [PATCH] testr --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 64493b3..6a91b67 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ # - tar # - gpg, if you wish to produce detached signatures -keyring=pubring.kbx +keyring=stig-manager.gpg signing_key="nuwcdivnpt-bot@users.noreply.github.com" bin_dir=./bin @@ -48,6 +48,6 @@ zip --junk-paths $windows_archive ./dotenv-example $bin_dir/stigman-watcher-win. linux_archive=$dist_dir/stigman-watcher-linux-$version.tar.gz printf "\n[BUILD_TASK] Creating $linux_archive\n" tar -czvf $linux_archive --xform='s|^|stigman-watcher/|S' -C . dotenv-example -C $bin_dir stigman-watcher-linuxstatic -[[ $1 == "--sign" ]] && gpg --keyring $keyring --default-key $signing_key --armor --detach-sig $linux_archive +[[ $1 == "--sign" ]] && gpg --default-key $signing_key --armor --detach-sig $linux_archive printf "\n[BUILD_TASK] Done\n"