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/03/07 20:19:05 UTC
lucene-solr:branch_6x: LUCENE-7718: buildAndPushRelease.py script
should refer to working tree instead of directory
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6x ff45da1d1 -> 637e1a322
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/637e1a32
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/637e1a32
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/637e1a32
Branch: refs/heads/branch_6x
Commit: 637e1a322faad8d6ef99ba46778c23366c670402
Parents: ff45da1
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Tue Feb 28 21:22:17 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Wed Mar 8 01:48:50 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/637e1a32/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