microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.32k stars 113 forks source link

Fix error where pipeline name ending in a '.' would cause the PR pipeline to fail #1969

Closed getrou closed 2 weeks ago

getrou commented 3 weeks ago

Pipeline Versions are not allowed to end in a '.'

We are using the "Pipeline Version" in PR runs to simulate setting the pipeline name/message to diplay the branch name and commit message. ADO doesn't allow setting the Pipeline Name after the pipeline starts, and because the bulk of the source code sits in a "resource repository" (this win32metadata github repo) which isn't available until after the pipeline starts, we are using the Pipeline Version instead. This is a bit of a hack and hopefully ADO will support setting the Pipeline Name post-start soon. For now, this dramatically improves clarity when reading through the PR pipeline runs.