Simplify chocolatey build

This commit is contained in:
Reinhard Pointner 2016-11-06 16:20:48 +08:00
parent bcabaa61e2
commit 83156be8af
1 changed files with 2 additions and 3 deletions

View File

@ -877,11 +877,10 @@
<!-- chocolatey pack and push --> <!-- chocolatey pack and push -->
<exec executable="chocolatey" dir="${dir.dist}/chocolatey" failonerror="true"> <exec executable="chocolatey" dir="${dir.dist}/chocolatey" failonerror="true">
<arg value="pack" /> <arg line="pack" />
</exec> </exec>
<exec executable="chocolatey" dir="${dir.dist}/chocolatey" failonerror="true"> <exec executable="chocolatey" dir="${dir.dist}/chocolatey" failonerror="true">
<arg value="push" /> <arg line="push ${package.name}.${version}.nupkg" />
<arg value="${dir.dist}/chocolatey/${package.name}.${version}.nupkg" />
</exec> </exec>
</target> </target>