diff --git a/nuget/azure-pipelines.yml b/nuget/azure-pipelines.yml index 8463988d..1f1ebff0 100644 --- a/nuget/azure-pipelines.yml +++ b/nuget/azure-pipelines.yml @@ -25,24 +25,13 @@ steps: versionSpec: '5.10.0' checkLatest: true -- task: GitVersion@5 - inputs: - runtime: 'core' -# configFilePath: 'GitVersion.yml' - -- script: echo %Action%%BuildVersion% - displayName: 'Set build version' - env: - Action: '##vso[build.updatebuildnumber]' - BuildVersion: $(GitVersion.NugetVersionV2) - - task: NuGetCommand@2 displayName: 'NuGet pack' inputs: command: 'pack' packagesToPack: 'nuget/*.nuspec' versioningScheme: 'off' - buildProperties: 'VERSION=$(build.buildNumber)' + buildProperties: 'VERSION=1.9.2' - task: NuGetCommand@2 displayName: 'NuGet push' @@ -51,4 +40,4 @@ steps: packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg;build/*.nupkg;!build/*symbols.nupkg' nuGetFeedType: 'external' publishFeedCredentials: 'sqs-nuget' -# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main')) \ No newline at end of file +# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))