From 2fdc66ffd0d4fdb3fb76e16cb602ec037319ff85 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:19:25 -0400 Subject: [PATCH] put ziti-ci configure-git in the right place --- Installer/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installer/build.ps1 b/Installer/build.ps1 index 1267291a..14bf91f2 100644 --- a/Installer/build.ps1 +++ b/Installer/build.ps1 @@ -78,6 +78,7 @@ $action = '/build' echo "Assembling installer using AdvancedInstaller at: $ADVINST $action $ADVPROJECT" & $ADVINST $action $ADVPROJECT +ziti-ci configure-git $gituser=$(git config user.name) if($gituser -eq "ziti-ci") { if(Test-Path ${scriptPath}\..\service\github_deploy_key) { @@ -88,7 +89,6 @@ if($gituser -eq "ziti-ci") { $b="$env:GIT_BRANCH" if( $b -match '(^main$|^release-next|^release-[0-9]*\.[0-9]*\.[0-9]*)' ) { - ziti-ci configure-git echo "branch $b matches the required regex - adding committing and pushing" git add DesktopEdge/Properties/AssemblyInfo.cs git add ZitiUpdateService/Properties/AssemblyInfo.cs