summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.vsts-shared.yml6
-rw-r--r--crypto/src/crypto.csproj2
2 files changed, 2 insertions, 6 deletions
diff --git a/.vsts-shared.yml b/.vsts-shared.yml
index fd835083d..aff5d5927 100644
--- a/.vsts-shared.yml
+++ b/.vsts-shared.yml
@@ -10,14 +10,10 @@ steps:
   displayName: Install NBGV tool
   condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
 
-- script: nbgv cloud -c
+- script: nbgv cloud
   displayName: Set Version
   condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
 
-- powershell: echo "##vso[build.updatebuildnumber]$Env:GitBuildVersionSimple"
-  displayName: Set Version for Mapped
-  condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false), eq(variables['IsMatchingBase'], true))
-
 - task: DotNetCoreCLI@2
   inputs:
     command: pack
diff --git a/crypto/src/crypto.csproj b/crypto/src/crypto.csproj
index 081155451..fd54d15e9 100644
--- a/crypto/src/crypto.csproj
+++ b/crypto/src/crypto.csproj
@@ -50,7 +50,7 @@
     </PropertyGroup>
 
     <PropertyGroup Condition="'$(IsMatchingBase)' == 'true'">
-      <PackageVersion>$(BuildVersionSimple)</PackageVersion>
+      <CloudBuildNumber>$(BuildVersionSimple)</CloudBuildNumber>
       <Version>$(BuildVersionSimple)</Version>
       <PackageVersion>$(BuildVersionSimple)</PackageVersion>
       <NuGetPackageVersion>$(BuildVersionSimple)</NuGetPackageVersion>