# Macros for the AutoRelease project
+- parameter:
+ name: autorelease-release-tag
+ parameters:
+ - string:
+ name: RELEASE_TAG
+ default: '{release-tag}'
+ description: "The Release train tag to use eg. Helium-SR3"
+
- wrapper:
name: autorelease-build-timeout
wrappers:
--- /dev/null
+#!/bin/bash
+# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
+##############################################################################
+# Copyright (c) 2015 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
+
+# RELEASE_TAG=Helium-SR2 # Example
+
+./scripts/version.sh release $RELEASE_TAG
+git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
+git commit -am "Release $RELEASE_TAG"
+git submodule foreach "git format-patch --stdout origin/master > ../patches/${PWD##*/}.patch"
+
+./scripts/fix-relativepaths.sh