release for build-zip too

This commit is contained in:
Greg DiCristofaro 2021-06-17 14:35:37 -04:00
parent a0a5922dc3
commit 43bbd49c11

View File

@ -113,10 +113,14 @@
</subant>
</target>
<target name="set-release-build">
<property name="build.type" value="RELEASE"/>
</target>
<!-- This target will create a custom ZIP file for us. It first uses the general
ZIP target and then opens it up and adds in any files that we want. This is where we customize the
version number. -->
<target name="build-zip" depends="doxygen, suite.build-zip"> <!--,findJRE" -->
<target name="build-zip" depends="set-release-build, doxygen, suite.build-zip"> <!--,findJRE" -->
<property name="release.dir" value="${nbdist.dir}/${app.name}"/>
@ -343,10 +347,6 @@
<target name="versioning-script" depends="check-release, versioning-script-if-release, versioning-script-if-not-release"/>
<target name="set-release-build">
<property name="build.type" value="RELEASE"/>
</target>
<target name="build-installer" depends="set-release-build, getProps, doxygen, build-zip" description="Builds Autopsy installer.">
<!-- Unzip file -->
<delete dir="${nbdist.dir}/${app.name}-tmp-installer" quiet="true"/>