GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

Generated BuildAndPublish.yml does not include a trigger for master #166

Closed refactorinc closed 1 year ago

refactorinc commented 1 year ago

Describe the bug master branch is not included in the triggers defined in BuildAndPublish.yml

To Reproduce Steps to reproduce the behavior:

  1. Create blank solution
  2. Do a guidance solution generation

Expected behavior master branch is included in the triggers defined in BuildAndPublish.yml

Desktop (please complete the following information):

Additional context The Azure DevOps version in use on-premise initializes git repositories with a branch named master

rdarko commented 1 year ago

This can be fixed in the templates only, without having a new release.

HaGGi13 commented 1 year ago

As discussed, this can be a solution, if the main branch should be supported too. If not, it can be removed.
The paths section remains untouched.

trigger:
  branches:
    include:     
    - main
    - master
    - release/*
    - develop/*
HaGGi13 commented 1 year ago

The change was done in the hook-in template and will be available by a new Guidance version.