Commits

Anonymous committed f7c164c

add build scripts

Comments (0)

Files changed (5)

performRelease/.gitignore

+/workspace

performRelease/.project

+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>performRelease</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>

performRelease/applyVersion

+#!/bin/bash
+
+set -e
+
+. profile
+
+pushd workspace
+
+mvn org.eclipse.scada.releng:build-helper:${buildHelperVersion}:set-version \
+	-U -llr \
+	-Dpackagings=pom \
+	-Dpoms=org.openscada.builder/aggregator/pom.xml,org.openscada.builder/superParent/pom.xml \
+	-DnewVersion=$release
+
+popd
+

performRelease/checkout

+#!/bin/bash
+
+set -e
+
+REPOS="builder external jinterop utgard atlantis ide"
+
+. profile
+
+test ! -z "$GIT_BASE" || die "GIT_BASE is not set" 
+
+mkdir workspace
+pushd workspace
+
+for i in $REPOS; do
+	git clone "$GIT_BASE/org.openscada.$i.git" -b $branch
+done
+
+popd

performRelease/profile

+buildHelperVersion=0.0.18-SNAPSHOT
+
+version=1.2.0
+release=$version.M1
+branch=1.2
+
+function die {
+        echo "$@" 1>&2 # echo to stderr
+        exit 1
+}