commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [commons-release-plugin] branch master updated: Fail if commons.nexus.repo.id is not defined
Date Sun, 02 Aug 2020 11:00:34 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 176564d  Fail if commons.nexus.repo.id is not defined
176564d is described below

commit 176564d7d99df22914410e2064c069b86535c152
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Aug 2 12:00:25 2020 +0100

    Fail if commons.nexus.repo.id is not defined
---
 src/changes/changes.xml                   | 1 +
 src/main/scripts/generate-xdocs.build.xml | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a7fea2c..2c063d2 100755
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -26,6 +26,7 @@
 
   <body>
     <release version="1.8" date="2020-MM-DD" description="Version 1.8">
+      <action type="update" dev="sebb">Fail if commons.nexus.repo.id is not defined.</action>
       <action type="update" dev="sebb">Allow for old-style group ids in vote-txt.</action>
       <action type="update" dev="sebb">Don't create hash for .asc files.</action>
       <action type="update" dev="ggregory">Replace FindBugs with SpotBugs.</action>
diff --git a/src/main/scripts/generate-xdocs.build.xml b/src/main/scripts/generate-xdocs.build.xml
index a66f84c..a911460 100755
--- a/src/main/scripts/generate-xdocs.build.xml
+++ b/src/main/scripts/generate-xdocs.build.xml
@@ -28,6 +28,8 @@
 
     <target name="vote-txt" description="Generates VOTE.txt">
 
+        <fail unless="commons.nexus.repo.id">Must specify the property commons.nexus.repo.id</fail>
+
         <property name="svn.dist.url" value="https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}/${commons.release.version}-${commons.rc.version}"
/>
         <property name="git.tag.name" value="commons-${commons.componentid}-${commons.release.version}-${commons.rc.version}"
/>
         <property name="svn.site.url" value="https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}/${commons.release.version}-${commons.rc.version}/site"
/>


Mime
View raw message