Merge pull request #7052 from gdicristofaro/releaseInstaller

installer is created with RELEASE build.type
This commit is contained in:
eugene7646 2021-06-17 16:00:59 -04:00 committed by GitHub
commit 32eb2bc13d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"/>
@ -342,8 +346,8 @@
</target>
<target name="versioning-script" depends="check-release, versioning-script-if-release, versioning-script-if-not-release"/>
<target name="build-installer" depends="getProps, doxygen, build-zip" description="Builds Autopsy installer.">
<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"/>
<unzip src="${nbdist.dir}/${app.name}-${app.version}.zip" dest="${nbdist.dir}/${app.name}-tmp-installer"/>