在使用 YAML 文件格式在 Azure DevOps 上执行 CI 时,我试图读取我的 csproj 文件以提取有关版本的信息以创建将遵循 csproj 版本的 NuGet 包。
我NuGetCommand@2用于包装(因为versioningScheme: byPrereleaseNumber)
NuGetCommand@2
versioningScheme: byPrereleaseNumber
是否有内置任务或方法可以从 csproj 文件中提取此信息作为正则表达式并将它们传递给NuGetCommand@2?
yaml csproj azure-devops
azure-devops ×1
csproj ×1
yaml ×1