2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 07:28:25 +00:00

[minor] let a readme.md file remain in current

This commit is contained in:
Rushabh Mehta 2015-07-03 15:38:20 +05:30
parent ba2929973c
commit b682eb0b71

View File

@ -139,7 +139,7 @@ def get_current_version(repo):
def check_for_unmerged_changelog(repo):
current = os.path.join(repo, os.path.basename(repo), 'change_log', 'current')
if os.path.exists(current) and os.listdir(current):
if os.path.exists(current) and [f for f in os.listdir(current) if f != "readme.md"]:
raise Exception("Unmerged change log! in " + repo)
def bump_repo(repo, bump_type, develop='develop', master='master', remote='upstream'):