ASOS/OctopusStepTemplateCi

Uploaded step template to octopus message is misleading

Opened this issue · 1 comments

The code outputs the message Write-TeamCityMessage "##teamcity[progressMessage 'Uploaded $($_.BaseName) to Octopus']" regardless of whether it actually uploaded or skipped the upload.

it should only output this message if it actually uploads it.
Potentially, it should output a message similar to "Didn't upload as it was already the same on the server" .

Potentially also improve this message to say "Step template" rather than "Script template", and "uploading" rather than "updating".