dotnet / maintenance-packages

Repository that hosts packages from the .NET platform whose original home/branch is not building any longer.
MIT License
16 stars 10 forks source link

Add pipeline for internal main publishing, set PreReleaseVersion Label & Iteration #123

Closed carlossanlop closed 3 weeks ago

carlossanlop commented 3 weeks ago

The internal pipeline run to test PreReleaseVersionLabel and PreReleaseVersionIteration succeeded, but it did not generate any nupkgs because in maintenance-packages.yml we are not passing /p:IsPackable=true to the cibuild.cmd command. I also noticed that we are not getting any official rolling builds getting executed against internal/main, which is the mirror of main, because none of our two yml files is configured to run there.

So for these two reasons, I decided to add a new job that should run on the refs/head/internal/main branch only, and should generate nupkgs and not execute tests.

I ran this internally and it's still running the official one for main without problems: https://dev.azure.com/dnceng/internal/_build/results?buildId=2550372&view=logs&j=a9d2175d-4765-52a6-1170-d2067f969fc3&t=b98325ce-6a6b-50a6-4ad1-ff66f8e44c1d