diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2019-11-24 00:29:58 +0300 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2019-11-24 01:07:48 +0300 |
commit | c4e209b8cd917e06783b490b2cc7cf9dbef7382a (patch) | |
tree | 6a614e720615eef72d881a7f0c77363d9ddebdd9 /azure-pipelines | |
parent | 2ede1577c5de37ca1e800a564399173346e34ad8 (diff) |
Get unity package version from env var
Diffstat (limited to 'azure-pipelines')
-rw-r--r-- | azure-pipelines/build_unity.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/azure-pipelines/build_unity.yml b/azure-pipelines/build_unity.yml index faaac167..6338d449 100644 --- a/azure-pipelines/build_unity.yml +++ b/azure-pipelines/build_unity.yml @@ -1,4 +1,7 @@ steps: +- powershell: Write-Host "##vso[task.setvariable variable=unity_package_version;]$((& (./azure-pipelines/Get-nbgv.ps1) get-version -f json | ConvertFrom-Json).NuGetPackageVersion)" + displayName: Get unity package version + - script: dotnet publish src/MessagePack -c $(BuildConfiguration) -f netstandard2.0 displayName: Build MessagePack |