From 8f29161803c5c1810aaf689e0d4d458403a1ca81 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 1 Mar 2022 00:49:57 -0300 Subject: [PATCH] Export *.sig files --- pkgbuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgbuild.sh b/pkgbuild.sh index 5c5ea86..a73f6cc 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -33,6 +33,9 @@ exportPackageFiles() { if [ -f "$pkgFile" ]; then relPkgFile="$(realpath --relative-base="$baseDir" "$pkgFile")" exportFile "pkgFile" "$relPkgFile" "$pkgFile" + if [ -n "$gpgPrivateKey" ]; then + exportFile "pkgFileSig" "$relPkgFile.sig" "$pkgFile.sig" + fi fi } @@ -88,7 +91,6 @@ runScript() { oldFiles=$(find -H "$PWD" -not -path '*.git*') buildPackage - exportPackageFiles namcapAnalysis