gaelcolas / Sampler.GitHubTasks

Sampler Project Build Tasks for GitHub
MIT License
5 stars 4 forks source link

make $mainGitBranch be read from build.yaml #14

Open gaelcolas opened 3 years ago

gaelcolas commented 3 years ago

in azdo pipeline yml

johlju commented 2 years ago

@gaelcolas Do you mean that the Azure DevOps pipeline should read from the build configuration, so we should run a powershell script that get the default branch that returns a variable back to the pipeline jobs?

Today we use a variable defined in the azure-pipelines.yml https://github.com/gaelcolas/Sampler/blob/2bfc9c06a1020315c623185bdf2fcd2fa38a2431/Sampler/Templates/Sampler/azure-pipelines.yml.template#L18