projects
/
platform
/
core
/
csapi
/
xsf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e48da
)
[Build] Fix env variable for release nuget (#6311)
author
Rui Marinho
<me@ruimarinho.net>
Sat, 25 May 2019 00:30:00 +0000
(
01:30
+0100)
committer
GitHub
<noreply@github.com>
Sat, 25 May 2019 00:30:00 +0000
(
01:30
+0100)
build/steps/build-nuget.yml
patch
|
blob
|
history
diff --git
a/build/steps/build-nuget.yml
b/build/steps/build-nuget.yml
index
b146707
..
4f9589d
100644
(file)
--- a/
build/steps/build-nuget.yml
+++ b/
build/steps/build-nuget.yml
@@
-71,8
+71,7
@@
steps:
packagesToPack: '.nuspec/*.nuspec'
packDestination: '$(Build.ArtifactStagingDirectory)/nuget/release'
versioningScheme: byEnvVar
- versionEnvVar: XamarinFormsPackageVersion
- buildProperties: 'IdAppend=$(FormsIdAppend)'
+ versionEnvVar: nugetPackageVersion
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'],'refs/tags/')))
- task: PublishBuildArtifacts@1