tag:help.appveyor.com,2012-11-13:/discussions/questions/1337-publishing-nuget-artifact-only-on-git-tagsAppVeyor: Discussion 2018-10-19T08:17:13Ztag:help.appveyor.com,2012-11-13:Comment/370024972015-06-01T16:25:57Z2015-06-01T16:25:57ZPublishing nuget artifact only on git tags<div><p>There are two options here:</p>
<ul>
<li>delete NuGet package from account feed (project feed is
readonly) if it's not a tag build</li>
<li>use script and push artifact only if it's a tag build</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/370024972015-06-02T07:41:40Z2015-06-02T07:41:40ZPublishing nuget artifact only on git tags<div><p>Is there any appveyor environment variable that can help me
discern if it's a tag build or not?</p></div>giacomo.tagtag:help.appveyor.com,2012-11-13:Comment/370024972015-06-02T17:29:05Z2015-06-02T17:29:05ZPublishing nuget artifact only on git tags<div><p>It's <code>APPVEYOR_REPO_TAG</code>: <a href="http://www.appveyor.com/docs/environment-variables">http://www.appveyor.com/docs/environment-variables</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/370024972015-06-03T07:23:00Z2015-06-03T07:23:00ZPublishing nuget artifact only on git tags<div><p>thanks! didn't read that doc.</p></div>giacomo.tag