This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new b9ecfd3 Move GPG check to deploy-release target
b9ecfd3 is described below
commit b9ecfd3bd37f4d2f4662b14513a0b2fef2c8035c
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 7a40756..304141e 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]