Skip to content

Commit

Permalink
testr
Browse files Browse the repository at this point in the history
  • Loading branch information
Matte22 committed Feb 21, 2024
1 parent a6d5efb commit b23d261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# - tar
# - gpg, if you wish to produce detached signatures

keyring=pubring.kbx
keyring=stig-manager.gpg
signing_key="[email protected]"

bin_dir=./bin
Expand Down Expand Up @@ -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"

0 comments on commit b23d261

Please sign in to comment.