Skip to content

Commit

Permalink
Added wireguird
Browse files Browse the repository at this point in the history
Improved sign.sh script
  • Loading branch information
kloon15 committed Mar 14, 2024
1 parent 77c2486 commit 4f59d40
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions kloon.db
1 change: 1 addition & 0 deletions kloon.db.sig
Binary file added kloon.db.tar.gz
Binary file not shown.
Binary file added kloon.db.tar.gz.sig
Binary file not shown.
1 change: 1 addition & 0 deletions kloon.files
1 change: 1 addition & 0 deletions kloon.files.sig
Binary file added kloon.files.tar.gz
Binary file not shown.
Binary file added kloon.files.tar.gz.sig
Binary file not shown.
15 changes: 10 additions & 5 deletions sign.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
BASE_DIR=./x86_64
PKG_DIR=./x86_64

for pkg in "${BASE_DIR}"/*.zst
do

for pkg in "${PKG_DIR}"/*.zst
do
if [ -f "${pkg}".sig ]; then
echo "Skipping signed package - $pkg"
continue
fi
echo "Signing package - $pkg"
# always "double quote" $f to avoid problems
gpg --use-agent --output "${pkg}".sig --detach-sig "${pkg}"
gpg --use-agent --output "${pkg}".sig --detach-sig "${pkg}"
echo "Adding package - $pkg"
repo-add --verify --sign kloon.db.tar.gz "${pkg}"
done
Binary file added x86_64/wireguird-1.1.0-1-x86_64.pkg.tar.zst
Binary file not shown.
Binary file added x86_64/wireguird-1.1.0-1-x86_64.pkg.tar.zst.sig
Binary file not shown.

0 comments on commit 4f59d40

Please sign in to comment.