Daniel Fütterer
26.02.21 6dff0903342558a8791541cd4bba21a4e494e3f5
feat: simplify repo path

Path is stored in variable to define changelog output path
1 files modified
7 ■■■■ changed files
oop_changelog.py 7 ●●●● patch | view | raw | blame | history
oop_changelog.py
@@ -127,7 +127,10 @@
#### 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 = []
@@ -201,6 +204,6 @@
        
# 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")