Skip to content

Commit

Permalink
Adjust pattern and delims (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored May 29, 2024
1 parent 675455f commit 52c301e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2045,13 +2045,13 @@
<concat>${retUUID.txt}</concat>
<filterchain>
<tokenfilter>
<stringtokenizer delims="," />
<containsregex pattern="^.*([0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+).*$" replace="\1" />
<stringtokenizer delims=",:" />
<containsregex pattern="([0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+)" replace="\1" />
</tokenfilter>
<striplinebreaks/>
</filterchain>
</loadresource>
<echo>notarize-app:${retUUID}</echo>
<echo>*** notarize-app:${retUUID} ***</echo>
</target>

<target name="post-notary" if="sign.enable">
Expand All @@ -2070,7 +2070,7 @@
<condition property="isnotarized">
<resourcecontains resource="notary.txt" substring="success"/>
</condition>
<echo>notarize-info:${logInfo}</echo>
<echo>*** notarize-info:${logInfo} ***</echo>
</target>

<!-- Staple the received notarization to the app -->
Expand Down Expand Up @@ -2113,13 +2113,13 @@
<concat>${zipUUID.txt}</concat>
<filterchain>
<tokenfilter>
<stringtokenizer delims="," />
<containsregex pattern="^.*([0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+).*$" replace="\1" />
<stringtokenizer delims=",:" />
<containsregex pattern="([0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+\-[0-9a-fA-F]+)" replace="\1" />
</tokenfilter>
<striplinebreaks/>
</filterchain>
</loadresource>
<echo>notarize-zip-app:${zipUUID}</echo>
<echo>*** notarize-zip-app:${zipUUID} ***</echo>
</target>

<!-- Staple the received notarization to the app -->
Expand Down

0 comments on commit 52c301e

Please sign in to comment.