From: Tuukka Lehtonen Date: Sat, 22 Feb 2020 22:51:04 +0000 (+0200) Subject: Regenerate P2 repository metadata after signing X-Git-Tag: v1.43.0~87 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=95f5fd7a992bc56e868da66d2b0f667356539749;p=simantics%2Fplatform.git Regenerate P2 repository metadata after signing Otherwise te checksums in artifacts.xml will be invalid builds are doomed. gitlab #468 Change-Id: I4eddd4d0a9ef19e37bfc9a26a5e5c94c486e0bda --- diff --git a/releng/org.simantics.sdk.build.p2.site/publish.sh b/releng/org.simantics.sdk.build.p2.site/publish.sh new file mode 100755 index 000000000..86acc9d90 --- /dev/null +++ b/releng/org.simantics.sdk.build.p2.site/publish.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ $# -lt 2 ]; then + echo "usage: $0 " + exit 1 +fi + +ECLIPSE=$1 +REPO=$2 + +rm ${REPO}/{artifacts,content}.jar + +"${ECLIPSE}" -noupdate -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:/${REPO} -artifactRepository file:/${REPO} -source ${REPO} -compress -publishArtifacts