@@ -20,26 +20,20 @@ pool:
2020 vmImage : $(vmImage)
2121
2222steps :
23- - script : node .azure-pipelines/setVersionVariables.js
24- env :
25- VERSION_PREFIX : $(versionPrefix)
26- VERSION_SUFFIX : $(versionSuffix)
27- CI_VERSION_SUFFIX : $(ciVersionSuffix)
28- displayName : Set version variables
2923 - task : DotNetCoreCLI@2
3024 displayName : Build project with release version
3125 inputs :
3226 command : build
3327 projects : $(projectPath)
3428 arguments : >
3529 --configuration $(buildConfiguration)
36- -p:Version=$(RELEASE_VERSION )
30+ -p:Version=$(releaseVersion )
3731 - bash : >
3832 dotnet pack
3933 --no-build
4034 --output "$(Build.ArtifactStagingDirectory)/packages"
4135 --configuration $(buildConfiguration)
42- -p:Version=$(RELEASE_VERSION )
36+ -p:Version=$(releaseVersion )
4337 $(projectPath)
4438 displayName: Create release nuget package
4539 - bash : >
@@ -54,12 +48,12 @@ steps:
5448 action : create
5549 target : $(Build.SourceVersion)
5650 tagSource : manual
57- tag : v$(RELEASE_VERSION )
58- tagPattern : v$(RELEASE_VERSION )
59- title : v$(RELEASE_VERSION )
51+ tag : v$(releaseVersion )
52+ tagPattern : v$(releaseVersion )
53+ title : v$(releaseVersion )
6054 githubConnection : githubRelease
6155 repositoryName : $(Build.Repository.Name)
62- isPreRelease : $(IS_PRE_RELEASE )
56+ isPreRelease : $(isPreRelease )
6357 addChangeLog : false
6458 assets : $(Build.ArtifactStagingDirectory)/packages/*
6559 displayName : Create Github Release
0 commit comments