Commit ecbb5d0e authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix(codesign) retrieve a dmg file from mac codesign service

parent 688d7fe8
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
</goals> </goals>
<configuration> <configuration>
<executable>/bin/bash</executable> <executable>/bin/bash</executable>
<commandlineArgs>-c "zip -q ${product.short.name}-${project.version}.zip -r ${product.short.name}-${project.version}.app &#38;&#38; curl --request POST -F exeFile=@${product.short.name}-${project.version}.zip ${macSignServiceURL} &gt; /tmp/${product.short.name}-${project.version}.zip &#38;&#38; cat /tmp/${product.short.name}-${project.version}.zip > ${product.short.name}-${project.version}.zip &#38;&#38; rm -r ${product.short.name}-${project.version}.app &#38;&#38; unzip -q ${product.short.name}-${project.version}.zip &#38;&#38; rm ${product.short.name}-${project.version}.zip"</commandlineArgs> <commandlineArgs>-c "zip -q ${product.short.name}-${project.version}.app.zip -r ${product.short.name}-${project.version}.app &#38;&#38; curl --request POST -F exeFile=@${product.short.name}-${project.version}.app.zip ${macSignServiceURL} &gt; /tmp/${product.short.name}-${project.version}.app.zip &#38;&#38; cat /tmp/${product.short.name}-${project.version}.app.zip > ${product.short.name}-${project.version}.app.zip &#38;&#38; rm -r ${product.short.name}-${project.version}.app &#38;&#38; unzip -q ${product.short.name}-${project.version}.app.zip &#38;&#38; rm ${product.short.name}-${project.version}.app.zip"</commandlineArgs>
<workingDirectory>${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/</workingDirectory> <workingDirectory>${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/</workingDirectory>
</configuration> </configuration>
</execution> </execution>
...@@ -409,7 +409,7 @@ ...@@ -409,7 +409,7 @@
</goals> </goals>
<configuration> <configuration>
<executable>/bin/bash</executable> <executable>/bin/bash</executable>
<commandlineArgs>-c "mv ${product.short.name}-${project.version}-osx ${product.short.name}-${project.version}-osx.app &#38;&#38; zip -q ${product.short.name}-${project.version}-osx.zip -r ${product.short.name}-${project.version}-osx.app &#38;&#38; curl --request POST -F exeFile=@${product.short.name}-${project.version}-osx.zip ${macBuildAndSignInstallerServiceURL} &gt; /tmp/${product.short.name}-${project.version}-osx.zip &#38;&#38; cat /tmp/${product.short.name}-${project.version}-osx.zip > ${product.short.name}-${project.version}-osx.zip &#38;&#38; unzip -q ${product.short.name}-${project.version}-osx.zip &#38;&#38; rm ${product.short.name}-${project.version}-osx.zip"</commandlineArgs> <commandlineArgs>-c "zip -q ${product.short.name}-${project.version}.app.zip -r ${product.short.name}-${project.version}.app &#38;&#38; curl --max-time 6000 --request POST -F exeFile=@${product.short.name}-${project.version}.app.zip ${macBuildAndSignInstallerServiceURL} &gt; /tmp/${product.short.name}-${project.version}-osx.dmg &#38;&#38; cat /tmp/${product.short.name}-${project.version}-osx.dmg > ${product.short.name}-${project.version}-osx.dmg &#38;&#38; rm ${product.short.name}-${project.version}.app.zip"</commandlineArgs>
<workingDirectory>${project.build.directory}/installers/output/</workingDirectory> <workingDirectory>${project.build.directory}/installers/output/</workingDirectory>
</configuration> </configuration>
</execution> </execution>
...@@ -527,7 +527,7 @@ ...@@ -527,7 +527,7 @@
<property name="bitrock.install" value="${project.build.directory}/installers" /> <property name="bitrock.install" value="${project.build.directory}/installers" />
<property name="os_arch" value="64" /> <property name="os_arch" value="64" />
<property file="installer/installer.properties" /> <property file="installer/installer.properties" />
<property name="installer.name" value="${product.short.name}-${product.version}-osx" /> <property name="installer.name" value="${product.short.name}-${product.version}.app" />
<property name="updated.project.file" value="${basedir}/installer/installer_project_macosx_x86_64.xml" /> <property name="updated.project.file" value="${basedir}/installer/installer_project_macosx_x86_64.xml" />
<ant antfile="createInstallerProject.xml" /> <ant antfile="createInstallerProject.xml" />
</target> </target>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment