File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ variables:
3838 value : $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
3939
4040pool :
41- # vmImage: 'ubuntu-latest'
4241 vmImage : ' windows-2019'
4342
4443jobs :
7069 projects : ' **/*.csproj'
7170 feedsToUse : ' select'
7271
72+ - task : PowerShell@2
73+ displayName : GetVersion .Desktop
74+ inputs :
75+ filePath : ' build\csproj-version-to-pipeline.ps1'
76+ arguments : ' $(patch) $(Build.SourcesDirectory)\src\Generator.Client.Desktop\Generator.Client.Desktop.csproj PackageVersion'
77+
78+ - task : PowerShell@2
79+ displayName : GetVersion .CLI
80+ inputs :
81+ filePath : ' build\csproj-version-to-pipeline.ps1'
82+ arguments : ' $(patch) $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj PackageVersionCLI'
83+
7384 - task : DotNetCoreCLI@2
7485 displayName : dotnet pack
7586 inputs :
8394 verbosityPack : ' Minimal'
8495# $(buildConfiguration) -o p:VersionPrefix=$(PackageVersionCLI) "
8596
86- - task : PowerShell@2
87- displayName : GetVersion .Desktop
88- inputs :
89- filePath : ' build\csproj-version-to-pipeline.ps1'
90- arguments : ' $(patch) $(Build.SourcesDirectory)\src\Generator.Client.Desktop\Generator.Client.Desktop.csproj PackageVersion'
91-
92- - task : PowerShell@2
93- displayName : GetVersion .CLI
94- inputs :
95- filePath : ' build\csproj-version-to-pipeline.ps1'
96- arguments : ' $(patch) $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj PackageVersionCLI'
97-
9897 - task : PowerShell@2
9998 condition : and(succeeded(), eq(variables['BUILD_PUBLISH_ARTIFACTS'], 'True'))
10099 displayName : dotnet publish
You can’t perform that action at this time.
0 commit comments