Apr 06 2022
06:08 AM
- last edited on
Mar 05 2024
01:39 PM
by
TechCommunityAP
Apr 06 2022
06:08 AM
- last edited on
Mar 05 2024
01:39 PM
by
TechCommunityAP
Hi,
I have the following YAML-file for triggering a pipeline:
trigger:
tags:
include:
- '*-RELEASE'
pool:
vmImage: ubuntu-latest
steps:
- 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.
Kind Regards,
Ricardo