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"