<target name="release-dist" depends="dist" description="Generates the distribution package and signs the release">
<property name="bin.suffix" value="bin"/>
<input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-src.zip"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-src.zip"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-src.tar.gz"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-src.tar.gz"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.zip"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.zip"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.tar.gz"/>
</antcall>
<antcall target="sign-file">
<param name="pwd" value="${pwd}"/>
</antcall>
</target>
- <target name="md5">
- <property name="md5.exec" value="md5sum"/>
- <property name="md5.options" value=""/>
- <exec executable="${md5.exec}" output="${sign.archive}.md5">
- <arg line="${md5.options} ${sign.archive}"/>
+ <target name="sha256">
+ <property name="sha256.exec" value="sha256sum"/>
+ <property name="sha256.options" value=""/>
+ <exec executable="${sha256.exec}" output="${sign.archive}.sha256">
+ <arg line="${sha256.options} ${sign.archive}"/>
</exec>
</target>
<target name="sign-file">