On the automated build, there's a way to tag the commit on build, which is great but not enough, I need to tag source on Production Environment successful release using, now I can only do that manually with a commands: I need to be able to do this as part of my Release tasks to production
git clone -q sh://[email protected]:22/DefaultCollection/Repo/_git/$env:BUILD_REPOSITORY_NAME
cd $env:BUILD_REPOSITORY_NAME
git reset --hard $env:BUILD_SOURCEVERSION
git tag 'Prod-Release ' $env:BUILD_BUILDNUMBER
git push origin 'Prod - ' $env:BUILD_BUILDNUMBER
cd .\
Remove-Item -Recurse -Force $env:BUILD_REPOSITORY_NAME
Thanks for your feedback. I have added it to our backlog and we will consider it for future releases.
Are you going to update this issue once implemented?
I found the following extension Tag\Branch Git on Release which seems to do the work. But an official feature will always be considered the best solution :)
Most helpful comment
Are you going to update this issue once implemented?
I found the following extension Tag\Branch Git on Release which seems to do the work. But an official feature will always be considered the best solution :)