From b6c23f4885f6931d07c603f88910c194333c3d29 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Thu, 8 Apr 2021 16:57:41 -0700 Subject: [PATCH] More fiddly bits related to branch rename --- concourse/set-pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concourse/set-pipeline.py b/concourse/set-pipeline.py index 880bc74e7..08ba296f8 100755 --- a/concourse/set-pipeline.py +++ b/concourse/set-pipeline.py @@ -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')