ctaggart / SourceLink

Source Code On Demand
MIT License
356 stars 55 forks source link

build tags in Azure Pipelines #369

Closed ctaggart closed 5 years ago

ctaggart commented 5 years ago

Hi Cameron. You can create a build/release pipeline with a branch filter that looks like this (or customized to match your release tag format): refs/tags/* https://twitter.com/dstaheli/status/1043635525918380033

The branch, tags, and pull requests are not building with:

trigger:
  - refs/heads/*
  - refs/tags/*

I know that in Teamcity, the branch spec is this:

+:refs/heads/*
+:refs/pull/*/merge
+:refs/tags/*
ctaggart commented 5 years ago

This made this branch and pull request build again, but the tag is not creating a build.

trigger:
  - +:refs/heads/*
  - +:refs/pull/*/merge
  - +:refs/tags/*
ctaggart commented 5 years ago

@lkillgore it is set to override! I don't remember setting that. May that is one by default. I'll unset that and try again.

image

ctaggart commented 5 years ago

It is still not building off of tags in this build-tags branch. I'll merge to master anyway and see if that makes a difference. I've tried by doing a release on github.com named 0.0.7. I also tried by simply pushing a git tag:

$v="0.0.6"
git tag $v
git push origin $v

After testing, I clean up with:

git tag -d $v
git push --delete origin $v