You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2017/02/28 15:53:06 UTC
lucene-solr:branch_6_4: LUCENE-7718: buildAndPushRelease.py script
should refer to working tree instead of directory
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6_4 b4740dc11 -> a30eda944
LUCENE-7718: buildAndPushRelease.py script should refer to working tree instead of directory
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a30eda94
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a30eda94
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a30eda94
Branch: refs/heads/branch_6_4
Commit: a30eda94441d29868c68d7e9384dcffce4bc0010
Parents: b4740dc
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Tue Feb 28 21:22:17 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Tue Feb 28 21:22:17 2017 +0530
----------------------------------------------------------------------
dev-tools/scripts/buildAndPushRelease.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a30eda94/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index e34c943..d742214 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -59,7 +59,7 @@ def runAndSendGPGPassword(command, password):
def getGitRev():
status = os.popen('git status').read().strip()
- if 'nothing to commit, working directory clean' not in status:
+ if 'nothing to commit, working directory clean' not in status and 'nothing to commit, working tree clean' not in status:
raise RuntimeError('git clone is dirty:\n\n%s' % status)
branch = os.popen('git rev-parse --abbrev-ref HEAD').read().strip()
command = 'git log origin/%s..' % branch