Included os name in exe filenames

This commit is contained in:
2018-09-16 20:57:34 +01:00
parent 1c056c9e7b
commit c74de99835

View File

@@ -77,7 +77,7 @@
<arg value="-r" /> <arg value="-r" />
<arg value="-apple" /> <arg value="-apple" />
<arg value="-o" /> <arg value="-o" />
<arg value="AudiobookRecorder.dmg" /> <arg value="AudiobookRecorder-osx.dmg" />
<arg value="-dir-mode" /> <arg value="-dir-mode" />
<arg value="0755" /> <arg value="0755" />
<arg value="-file-mode" /> <arg value="-file-mode" />
@@ -89,15 +89,15 @@
</target> </target>
<target name="winapp" depends="build"> <target name="winapp" depends="build">
<launch4j configFile="dist/windows/windows.xml" outfile="AudiobookRecorder.exe" /> <launch4j configFile="dist/windows/windows.xml" outfile="AudiobookRecorder-win.exe" />
</target> </target>
<target name="linuxapp" depends="build"> <target name="linuxapp" depends="build">
<concat destfile="AudiobookRecorder.run" binary="true"> <concat destfile="AudiobookRecorder-linux" binary="true">
<file file="dist/linux/stub" /> <file file="dist/linux/stub" />
<file file="AudiobookRecorder.jar" /> <file file="AudiobookRecorder.jar" />
</concat> </concat>
<chmod perm="0755" file="AudiobookRecorder.run" /> <chmod perm="0755" file="AudiobookRecorder-linux" />
</target> </target>
<target name="dist" depends="macapp,winapp,linuxapp" /> <target name="dist" depends="macapp,winapp,linuxapp" />
@@ -138,32 +138,32 @@
<arg value="-f"/> <arg value="AudiobookRecorder.jar"/> <arg value="-f"/> <arg value="AudiobookRecorder.jar"/>
<arg value="-n"/> <arg value="AudiobookRecorder.jar"/> <arg value="-n"/> <arg value="AudiobookRecorder.jar"/>
</exec> </exec>
<echo>Uploading AudiobookRecorder.dmg</echo> <echo>Uploading AudiobookRecorder-osx.dmg</echo>
<exec executable="github-release"> <exec executable="github-release">
<arg value="upload"/> <arg value="upload"/>
<arg value="-u"/> <arg value="MajenkoProjects"/> <arg value="-u"/> <arg value="MajenkoProjects"/>
<arg value="-r"/> <arg value="AudiobookRecorder"/> <arg value="-r"/> <arg value="AudiobookRecorder"/>
<arg value="-t"/> <arg value="v${version}"/> <arg value="-t"/> <arg value="v${version}"/>
<arg value="-f"/> <arg value="AudiobookRecorder.dmg"/> <arg value="-f"/> <arg value="AudiobookRecorder-osx.dmg"/>
<arg value="-n"/> <arg value="AudiobookRecorder.dmg"/> <arg value="-n"/> <arg value="AudiobookRecorder-osx.dmg"/>
</exec> </exec>
<echo>Uploading AudiobookRecorder.exe</echo> <echo>Uploading AudiobookRecorder-win.exe</echo>
<exec executable="github-release"> <exec executable="github-release">
<arg value="upload"/> <arg value="upload"/>
<arg value="-u"/> <arg value="MajenkoProjects"/> <arg value="-u"/> <arg value="MajenkoProjects"/>
<arg value="-r"/> <arg value="AudiobookRecorder"/> <arg value="-r"/> <arg value="AudiobookRecorder"/>
<arg value="-t"/> <arg value="v${version}"/> <arg value="-t"/> <arg value="v${version}"/>
<arg value="-f"/> <arg value="AudiobookRecorder.exe"/> <arg value="-f"/> <arg value="AudiobookRecorder-win.exe"/>
<arg value="-n"/> <arg value="AudiobookRecorder.exe"/> <arg value="-n"/> <arg value="AudiobookRecorder-win.exe"/>
</exec> </exec>
<echo>Uploading AudiobookRecorder.run</echo> <echo>Uploading AudiobookRecorder-linux</echo>
<exec executable="github-release"> <exec executable="github-release">
<arg value="upload"/> <arg value="upload"/>
<arg value="-u"/> <arg value="MajenkoProjects"/> <arg value="-u"/> <arg value="MajenkoProjects"/>
<arg value="-r"/> <arg value="AudiobookRecorder"/> <arg value="-r"/> <arg value="AudiobookRecorder"/>
<arg value="-t"/> <arg value="v${version}"/> <arg value="-t"/> <arg value="v${version}"/>
<arg value="-f"/> <arg value="AudiobookRecorder.run"/> <arg value="-f"/> <arg value="AudiobookRecorder-linux"/>
<arg value="-n"/> <arg value="AudiobookRecorder.run"/> <arg value="-n"/> <arg value="AudiobookRecorder-linux"/>
</exec> </exec>
</target> </target>