sharpliner / sharpliner

Use C# instead of YAML to define your Azure DevOps pipelines
https://www.nuget.org/packages/Sharpliner/
MIT License
285 stars 21 forks source link

Change built-in variables to strong-typed objects #235

Closed thomhurst closed 1 year ago

thomhurst commented 1 year ago

Change built-in variables to strong-typed objects to benefit from the new Macro / Runtime syntaxes

thomhurst commented 1 year ago

Yeah I was trying to do a condition if source branch starts with something and it wasn't working. It was trying to do that macro syntax before. I manually referenced the variable by name to get a variable strong type, which then serialised into the runtime syntax and my condition started working.

premun commented 1 year ago

Right, that makes sense. There should be version 1.4.3 on NuGet in a couple of minutes with this fix