You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/01/17 02:03:35 UTC

commons-release-plugin git commit: COMMONSSITE-101: make dryRun -Dcommons.release.dryRun=true

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master ffd19db5b -> 840c8739e


COMMONSSITE-101: make dryRun -Dcommons.release.dryRun=true


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/840c8739
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/840c8739
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/840c8739

Branch: refs/heads/master
Commit: 840c8739e4aef82d436659734644997ac89e24e4
Parents: ffd19db
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jan 16 21:03:28 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jan 16 21:03:28 2018 -0500

----------------------------------------------------------------------
 src/changes/changes.xml                                         | 5 +++++
 .../release/plugin/mojos/CommonsDistributionStagingMojo.java    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/840c8739/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c74c5e1..6b19359 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -25,6 +25,11 @@
   </properties>
 
   <body>
+    <release version="1.1" date="YYYY-MM-DD" description="tbd">
+      <action issue="COMMONSSITE-101" type="fix" dev="chtompki">Make -Dcommons.release.dryRun=true our commit toggle</action>
+    </release>
+
+
     <release version="1.0" date="2018-01-10" description="Initial release">
       <action issue="COMMONSSITE-96" type="add" dev="chtompki">Create commons-release-component project skeleton.</action>
       <action issue="COMMONSSITE-99" type="add" dev="chtompki">Prepare Standard Build integrations, travis, jacoco, checkstyle, etc.</action>

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/840c8739/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
index 6fd311d..0fb23b6 100644
--- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
+++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
@@ -85,7 +85,7 @@ public class CommonsDistributionStagingMojo extends AbstractMojo {
      * If this is set to <code>true</code>, we do all but make the commits. We do checkout the repository in question
      * though.
      */
-    @Parameter(defaultValue = "false")
+    @Parameter(property = "commons.release.dryRun", defaultValue = "false")
     private Boolean dryRun;
 
     /**