Commit 373a7841 authored by Romain Bioteau's avatar Romain Bioteau Committed by GitHub

tr(build) improve signing lifycle (#1292)

* use a script to sign binaries
* update sign profile
parent 619141f3
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>all-in-one-zip</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.build.directory}/products/org.bonitasoft.studio.product/macosx/cocoa/x86_64/${product.short.name}-${project.version}.app</directory>
<includes>
<include>**</include>
</includes>
<outputDirectory />
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
......@@ -45,7 +45,4 @@ slide2=${img.folder}/slide02-01.png
slide3=${img.folder}/slide03-01.png
#path from install dir (runtime) to xpm file
linux.icon=${all.in.one.foler}/icon.xpm
certificate.pfx.file=${project.build.directory}/selfsigned-certificate-1.0.0.pfx
certifacte.secret=${certifacteSecret}
\ No newline at end of file
linux.icon=${all.in.one.foler}/icon.xpm
\ No newline at end of file
......@@ -14,6 +14,7 @@
<windowsExecutableIcon>@windows.ico@</windowsExecutableIcon>
<osxApplicationBundleIcon>@mac.installer.icns@</osxApplicationBundleIcon>
<osxPlatforms>osx-intel osx-x86_64</osxPlatforms>
<createOsxBundleZip>1</createOsxBundleZip>
<createUninstaller>@enable.uninstaller@</createUninstaller>
<slideShowLoop>1</slideShowLoop>
<slideShowTiming>8</slideShowTiming>
......@@ -306,30 +307,6 @@ ${installdir}/@mac.shortcut.name@/Contents/Eclipse/jre/Contents/Home/bin/java</v
</ruleList>
</substitute>
</postInstallationActionList>
<postBuildActionList>
<actionGroup>
<actionList>
<createTimeStamp>
<format>%Y%m%d%H%M%S</format>
<variable>timestamp</variable>
</createTimeStamp>
<createDirectory>
<path>${outputDirectory}/${installerFilename}.app</path>
</createDirectory>
<copyFile>
<destination>${outputDirectory}/${installerFilename}.app/</destination>
<origin>@bitrock.output@/${installerFilename}/Contents</origin>
</copyFile>
</actionList>
<ruleList>
<compareValues>
<logic>equals</logic>
<value1>${platform_name}</value1>
<value2>osx</value2>
</compareValues>
</ruleList>
</actionGroup>
</postBuildActionList>
<finalPageActionList>
<runProgram>
<ruleList>
......
This diff is collapsed.
#!/bin/sh
filename=$1
url=$2
workDir=$3
cd $workDir
if [ -f $filename ]; then
curl --request POST -F exeFile=@$filename $url > /tmp/$filename
cat /tmp/$filename > $filename
fi
\ No newline at end of file
......@@ -67,7 +67,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
......
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