tag:help.appveyor.com,2012-11-13:/discussions/questions/12298-nuget-publishing-using-multiple-imagesAppVeyor: Discussion 2018-10-19T08:18:33Ztag:help.appveyor.com,2012-11-13:Comment/439188032017-10-31T23:02:27Z2017-10-31T23:02:27ZNuGet publishing using multiple images<div><p>The same way as you did with tags, using <a href="https://www.appveyor.com/docs/deployment/#conditional-deployment">conditional deployment</a>.</p>
<pre>
<code>deploy:
- provider: NuGet
. . .
on:
appveyor_repo_tag: true
PUBLISH_NUGET: true</code>
</pre>
<p>Also I would recommend to condition each <a href="https://github.com/luca-piccioni/OpenGL.Net/blob/master/.appveyor.yml#L71-L77">nuget pack statement</a> with <code>if %PUBLISH_NUGET%==true</code> to save some build time.</p>
<p>P.S. I understand the idea with <code>publish_nuget: %PUBLISH_NUGET%</code> but this setting cannot be substituted with environment variable right now.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/439188032017-10-31T23:35:01Z2017-10-31T23:35:02ZNuGet publishing using multiple images<div><p>Many thanks. Now it seems so obvious...</p></div>Luca Piccioni