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/05/16 21:18:15 UTC

commons-release-plugin git commit: COMMONSSITE-113: don't commit sha1.properties, specifically

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master ceecf0ee7 -> b341fce6e


COMMONSSITE-113: don't commit sha1.properties, specifically


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/b341fce6
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/b341fce6
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/b341fce6

Branch: refs/heads/master
Commit: b341fce6eaa780cd1ea096c57a04becaa0ba22ff
Parents: ceecf0e
Author: Rob Tompkins <ch...@apache.org>
Authored: Wed May 16 17:18:12 2018 -0400
Committer: Rob Tompkins <ch...@apache.org>
Committed: Wed May 16 17:18:12 2018 -0400

----------------------------------------------------------------------
 .../release/plugin/mojos/CommonsDistributionStagingMojo.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/b341fce6/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 971737f..edd34f0 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
@@ -257,7 +257,7 @@ public class CommonsDistributionStagingMojo extends AbstractMojo {
                 copy = new File(scmBinariesRoot + "/" + file.getName());
                 SharedFunctions.copyFile(getLog(), file, copy);
                 filesForMavenScmFileSet.add(copy);
-            } else if (file.getName().contains("scm") || file.getName().contains("properties")) {
+            } else if (file.getName().contains("scm") || file.getName().contains("sha1.properties")) {
                 getLog().debug("Not copying scm directory over to the scm directory because it is the scm directory.");
                 //do nothing because we are copying into scm
             } else {