Reputation: 6091
I asked this on twitter a couple of weeks ago and then spent a few weekend hours on this issue trying to figure it out. I want to trigger a build when a new tag is pushed to github.com. Most other CI services have this capability, but I can't figure out how to enable it for Azure Pipelines. I tried adding a trigger
of refs/tags/*
in the azure-pipelines.yaml
and in the UI where you can override the triggers. Neither has worked for me.
Upvotes: 5
Views: 1456
Reputation: 6141
I feel like even though this should be the default, I needed set the triggers to *
to get tags (and branches) to build
trigger:
branches:
include: ['*']
tags:
include: ['*']
Upvotes: 5