diff --git a/patch.py b/patch.py index dd8bbea5..5ed45626 100644 --- a/patch.py +++ b/patch.py @@ -30,8 +30,7 @@ def update_hash(current_hash): def update_change_list(message): ripmeJson = get_ripme_json() with open('ripme.json', 'w') as dataFile: - ripmeJson["changeList"] = ripmeJson["changeList"].insert(0, message) - print(ripmeJson["currentHash"]) + ripmeJson["changeList"].insert(0, message) json.dump(ripmeJson, dataFile, indent=4) @@ -63,9 +62,8 @@ subprocess.call(['sed', '-i', '-e', substrExpr, 'pom.xml']) subprocess.call(['git', 'grep', '' + nextVersion + '', 'pom.xml']) commitMessage = nextVersion + ': ' + message -changeLogLine = ' \"' + commitMessage + '\",\n' -update_change_list(changeLogLine) +update_change_list(commitMessage) print("Building ripme")