I have the following YAML-file for triggering a pipeline:
- script: echo $(Build.SourceBranch)
displayName: 'Get tag-name from commit'
When I add a Tag via the web interface, nothing happens.
But when I do it via command-line git everything goes well.
git pull origin main
git tag v2.6-RELEASE
git push origin main v2.6-RELEASE
I see both Tags available in the Tags overview page:
Did I forget something? Because I thought both methods would have the same effect.