From dce81fed3051bc460152264345ee08368905f835 Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Fri, 31 Aug 2018 11:53:35 -0400 Subject: Set correct ver for three part builds --- .gitignore | 3 ++- .vsts-shared.yml | 6 +++++- crypto/src/crypto.csproj | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0f57570ed..7f92de194 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ *.userprefs *.vsp *.coverage - +*.exe *.nupkg Backup/ @@ -19,6 +19,7 @@ _Resharper*/ *.ide/ packages/ .vs/ +.store/ *.nuget.props *.nuget.targets diff --git a/.vsts-shared.yml b/.vsts-shared.yml index aff5d5927..fd835083d 100644 --- a/.vsts-shared.yml +++ b/.vsts-shared.yml @@ -10,10 +10,14 @@ steps: displayName: Install NBGV tool condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false)) -- script: nbgv cloud +- script: nbgv cloud -c 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 b5d250cf9..081155451 100644 --- a/crypto/src/crypto.csproj +++ b/crypto/src/crypto.csproj @@ -37,7 +37,7 @@ - + -- cgit 1.4.1