This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new 4405417  Fix for NLPCRAFT-34.
4405417 is described below

commit 44054172ccb742816e2fc87fb1acfa1550823766
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Fri Apr 3 12:12:28 2020 -0700

    Fix for NLPCRAFT-34.
---
 bin/prepare.sh | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/bin/prepare.sh b/bin/prepare.sh
index df84e05..aadda11 100755
--- a/bin/prepare.sh
+++ b/bin/prepare.sh
@@ -21,10 +21,15 @@ if [[ $1 = "" ]] ; then
     exit -1
 fi
 
+#
+# Change this for your local GPG fingerprint:
+# ===========================================
+localUser=223A2AADD175994F4450467491D161EDD8405C82
+
 zipDir=zips
 tmpDir=apache-nlpcraft
-zipFileBin=apache-nlpcraft-incubating-bin-$1.zip
-zipFileSrc=apache-nlpcraft-incubating-$1.zip
+zipFileBin=apache-nlpcraft-incubating-bin-$1.zip # NOT an officual ASF release.
+zipFileSrc=apache-nlpcraft-incubating-$1.zip # An OFFICIAL ASF release.
 
 curDir=$(pwd)
 
@@ -75,7 +80,7 @@ rm -R ${tmpDir} 2> /dev/null
 
 function sign() {
   shasum -a 256 $1 > $1.sha256
-  gpg --detach-sign $1
+  gpg --local-user ${localUser} --sign --armor --output $1.asc --detach-sign $1
 }
 
 sign "${zipFileBin}"

Reply via email to