Skip to content

Commit 0aa4294

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent e9ff128 commit 0aa4294

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,6 @@ jobs:
6969
projects: '**/*.csproj'
7070
feedsToUse: 'select'
7171

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-
8472
- task: DotNetCoreCLI@2
8573
displayName: dotnet pack
8674
inputs:
@@ -94,6 +82,19 @@ jobs:
9482
verbosityPack: 'Minimal'
9583
#$(buildConfiguration) -o p:VersionPrefix=$(PackageVersionCLI) "
9684

85+
- task: PowerShell@2
86+
displayName: GetVersion .Desktop
87+
inputs:
88+
filePath: 'build\csproj-version-to-pipeline.ps1'
89+
arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.Desktop\Generator.Client.Desktop.csproj PackageVersion'
90+
91+
- task: PowerShell@2
92+
displayName: GetVersion .CLI
93+
inputs:
94+
filePath: 'build\csproj-version-to-pipeline.ps1'
95+
arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj PackageVersionCLI'
96+
97+
9798
- task: PowerShell@2
9899
condition: and(succeeded(), eq(variables['BUILD_PUBLISH_ARTIFACTS'], 'True'))
99100
displayName: dotnet publish

0 commit comments

Comments
 (0)