More fiddly bits related to branch rename

This commit is contained in:
Kris De Volder
2021-04-08 16:57:41 -07:00
parent c9e87096fd
commit b6c23f4885

View File

@@ -10,7 +10,7 @@ def replace(infile, outfile, findword, replaceword):
branch = os.popen("git rev-parse --abbrev-ref HEAD").read().strip()
if branch == 'master':
if branch == 'main':
os.system('fly -t tools set-pipeline '+
' --var "branch=' + branch + '" ' +
' -p sts4-'+ branch +' -c pipeline.yml')