You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aw...@apache.org on 2020/10/23 17:22:14 UTC
[yetus] branch YETUS-1034-release updated: YETUS-1044. jars are not
getting signed with build-and-sign (#173)
This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch YETUS-1034-release
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/YETUS-1034-release by this push:
new 097eee1 YETUS-1044. jars are not getting signed with build-and-sign (#173)
097eee1 is described below
commit 097eee1a6a26926a60dda4e7dbcdc35f85af83be
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Fri Oct 23 10:19:30 2020 -0700
YETUS-1044. jars are not getting signed with build-and-sign (#173)
---
release/build-and-sign.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/release/build-and-sign.sh b/release/build-and-sign.sh
index d309398..e694801 100755
--- a/release/build-and-sign.sh
+++ b/release/build-and-sign.sh
@@ -193,7 +193,11 @@ makearelease()
fi
if [[ "${SIGN}" = true ]]; then
- signflags=("-Psign" "-Dgpg.useagent=true")
+ signflags+=("-Psign" "-Dgpg.useagent=true" "-Dgpg.executable=gpg")
+ fi
+
+ if [[ "${ASFRELEASE}" = true ]]; then
+ signflags+=("-Papache-release")
fi
# let's start at the root