This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new ad33907 Move GPG check to deploy-release target
ad33907 is described below
commit ad339075caa81b43f101d6e3c032774589792821
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 11 16:47:24 2021 +0000
Move GPG check to deploy-release target
This allows snapshots to continue without GPG
---
res/maven/mvn-pub.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/res/maven/mvn-pub.xml b/res/maven/mvn-pub.xml
index da08855..0c4cf5f 100644
--- a/res/maven/mvn-pub.xml
+++ b/res/maven/mvn-pub.xml
@@ -502,6 +502,7 @@
</target>
<target name="deploy-release">
+ <fail unless="gpg.exec.available">GPG is required, but was not found at
${gpg.exec}</fail>
<antcall target="generic-deploy">
<param name="maven.repo.repositoryId"
value="${maven.asf.release.repo.repositoryId}"/>
@@ -515,7 +516,6 @@
<target name="init-gpg-1">
<available file="${gpg.exec}" property="gpg.exec.available"/>
- <fail unless="gpg.exec.available">GPG is required, but was not found at
${gpg.exec}</fail>
</target>
<target name="init-gpg-2" if="${gpg.exec.available}">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]