nspec/NSpec

Chore: AppVeyor CI build does not trigger when tagging commit

BrainCrumbz opened this issue · 3 comments

As per title:

  1. Tag a commit in local machine
  2. Push tag on github

Expected:

AppVeyor should start a build and if successful should push artifacts to nuget (besides myget).

Actual:

No build is triggered on AppVeyor.

Current status: in order to better debug issue, one should access github webhooks. Those are only available to repository admins. We're waiting to move to a github organization and then sort out permissions.

Now Github webhook has been modified to include also "Branch / Tag create" event. Let's see how it goes with the next (?) tag.

Issue seems due to wrongly using annotated tags. Normal (so-called lightweight) tags should be used instead. No change seems needed in AppVeyor config file. Tags should be pushed after pushing commit, with git push --tags after git push. Not sure what happens when pushing together commits and tags (e.g. with git push --follow-tags).

That has worked for publishing DotNetTestNSpec v0.1.1. As soon as it works also here for NSpec, this issue can be closed.

Ref:

That worked here as well, closing.