mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* refactor
This commit is contained in:
parent
2a4d9af373
commit
3032a47d95
16
build.xml
16
build.xml
@ -670,11 +670,6 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="genkey">
|
|
||||||
<genkey alias="filebot" keystore="filebot.keystore" storepass="secret" validity="3650" dname="CN=${user.name}" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
|
|
||||||
<target name="build">
|
<target name="build">
|
||||||
<!-- create build dir -->
|
<!-- create build dir -->
|
||||||
<mkdir dir="${dir.build}" />
|
<mkdir dir="${dir.build}" />
|
||||||
@ -840,16 +835,21 @@
|
|||||||
<replace dir="${dir.dist}/chocolatey" encoding="utf-8" summary="yes">
|
<replace dir="${dir.dist}/chocolatey" encoding="utf-8" summary="yes">
|
||||||
<include name="**/*.ps1" />
|
<include name="**/*.ps1" />
|
||||||
<include name="**/*.nuspec" />
|
<include name="**/*.nuspec" />
|
||||||
<replacefilter token="@{version}" value="${version}" />
|
<filterset begintoken="@{" endtoken="}">
|
||||||
|
<propertyset>
|
||||||
|
<propertyref builtin="all" />
|
||||||
|
</propertyset>
|
||||||
|
</filterset>
|
||||||
</replace>
|
</replace>
|
||||||
|
|
||||||
<!-- chocolatey pack -->
|
<!-- chocolatey pack -->
|
||||||
<exec executable="chocolatey.exe" dir="${dir.dist}\chocolatey" failonerror="true">
|
<exec executable="chocolatey.exe" dir="${dir.dist}\chocolatey" failonerror="true">
|
||||||
<arg line="pack" />
|
<arg value="pack" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<exec executable="chocolatey.exe" dir="${dir.dist}\chocolatey" failonerror="true">
|
<exec executable="chocolatey.exe" dir="${dir.dist}\chocolatey" failonerror="true">
|
||||||
<arg line="push ${dir.dist}\chocolatey\filebot.${version}.nupkg" />
|
<arg value="push" />
|
||||||
|
<arg value="${dir.dist}\chocolatey\filebot.${version}.nupkg" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user