Skip to content

Commit

Permalink
Fixing issue where it tries to install a step template after an update
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Dec 17, 2021
1 parent f676e6b commit 5f4f715
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ foreach ($space in $spacesList.Items)

$actionTemplate = Invoke-OctopusApi -OctopusUrl $octopusUrl -endPoint "communityactiontemplates/$($communityActionTemplateToInstall.Id)/installation/$($space.Id)" -spaceId $null -apiKey $OctopusApiKey -item $null -method "PUT"
Write-Host "Succesfully updated the step template. The version is now $($actionTemplate.Version)"

$installStepTemplate = $false
}

break
Expand Down

0 comments on commit 5f4f715

Please sign in to comment.