Skip to content

Commit 54c66ea

Browse files
committed
fixing up macOS dist for recent changes
1 parent 8c2e438 commit 54c66ea

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

build/build.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,6 @@
739739
<target name="macos-dist-sign" if="env.PROCESSING_APP_PASSWORD">
740740
<echo>
741741
Code signing will only work if you have a $99/yr Apple developer ID.
742-
743-
With a proper ID, if code signing fails, you may need to use:
744-
export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"
745742
</echo>
746743

747744
<!-- Use "3rd Party Mac Developer Application" for the app store,
@@ -881,7 +878,7 @@
881878
<arg value="${env.PROCESSING_APP_PASSWORD}" />
882879

883880
<arg value="--file" />
884-
<arg value="processing-${version}-macos.zip" />
881+
<arg value="${dist.filename}" />
885882
</exec>
886883

887884
<echo>
@@ -891,8 +888,7 @@
891888
</echo>
892889
</target>
893890

894-
<target name="macos-dist" if="macos"
895-
depends="macos-build"
891+
<target name="macos-dist" depends="macos-build"
896892
description="Create a downloadable .zip for the macOS version">
897893

898894
<antcall target="macos-dist-sign" />
@@ -901,8 +897,11 @@
901897
<equals arg1="${os.arch}" arg2="x86_64" />
902898
</condition>
903899

900+
<property name="dist.filename"
901+
value="processing-${version}-macos-${dist.suffix}.zip" />
902+
904903
<exec executable="ditto" dir="macos/work">
905-
<arg line="-c -k -rsrc . ../processing-${version}-macos-${dist.suffix}.zip" />
904+
<arg line="-c -k -rsrc . ../${dist.filename}" />
906905
</exec>
907906

908907
<antcall target="macos-dist-notarize" />

0 commit comments

Comments
 (0)