Skip to content

Commit

Permalink
fix resource files permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
neodiX committed Aug 11, 2024
1 parent 11ee12f commit 9e9b14e
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,11 @@
<then>
</then>
<else>
<copy file="${project.build.directory}/binaries-linux-x86_64.zip"
tofile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-x86_64.zip"/>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-linux-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

Expand All @@ -444,8 +447,11 @@
<then>
</then>
<else>
<copy file="${project.build.directory}/binaries-mac-x86_64.zip"
tofile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-x86_64.zip"/>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-mac-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

Expand All @@ -458,8 +464,11 @@
<then>
</then>
<else>
<copy file="${project.build.directory}/binaries-windows-x86_64.zip"
tofile="${basedir}/src/main/resources/org/ton/binaries/ton-win-x86_64.zip"/>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-win-x86_64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-windows-x86_64/"
includes="**/*"/>
</zip>
</else>
</if>

Expand Down Expand Up @@ -502,8 +511,11 @@
<then>
</then>
<else>
<copy file="${project.build.directory}/binaries-linux-arm64.zip"
tofile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-arm64.zip"/>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-linux-arm64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-linux-arm64/"
includes="**/*"/>
</zip>
</else>
</if>

Expand All @@ -516,8 +528,11 @@
<then>
</then>
<else>
<copy file="${project.build.directory}/binaries-mac-arm64.zip"
tofile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-arm64.zip"/>
<zip destfile="${basedir}/src/main/resources/org/ton/binaries/ton-mac-arm64.zip">
<zipfileset filemode="777"
dir="${project.build.directory}/binaries-mac-arm64/"
includes="**/*"/>
</zip>
</else>
</if>

Expand Down

0 comments on commit 9e9b14e

Please sign in to comment.