Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/aspnet/MessagePack-CSharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2019-11-24 00:29:58 +0300
committerAndrew Arnott <andrewarnott@gmail.com>2019-11-24 01:07:48 +0300
commitc4e209b8cd917e06783b490b2cc7cf9dbef7382a (patch)
tree6a614e720615eef72d881a7f0c77363d9ddebdd9 /azure-pipelines
parent2ede1577c5de37ca1e800a564399173346e34ad8 (diff)
Get unity package version from env var
Diffstat (limited to 'azure-pipelines')
-rw-r--r--azure-pipelines/build_unity.yml3
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