| | |
| | | |
| | | #### Main #### |
| | | |
| | | commitList = getSeparatedGitLog("/Users/daniel/Desktop/testrepo") |
| | | pathToRepo = "/Users/daniel/Developer/Repos/HfM/schumacher/Prisma-Binauralize" |
| | | #pathToRepo = "/Users/daniel/Desktop/testrepo" |
| | | |
| | | commitList = getSeparatedGitLog(pathToRepo) |
| | | |
| | | # Create a list of commits |
| | | commitHistory = [] |
| | |
| | | fileTemplate.append("### Non-conventional") |
| | | for nonconform in commitsByType["Nonconform"]: |
| | | fileTemplate.append("- " + nonconform.body.subject + nonconform.appendShortHash()) |
| | | |
| | | |
| | | |
| | | # write into changelog |
| | | with open("changelog.md", "w") as file: |
| | | with open(pathToRepo + "/changelog.md", "w") as file: |
| | | for line in fileTemplate: |
| | | file.write(line + "\n") |