From: Marc-Andre Laperle Date: Mon, 22 Aug 2016 06:06:04 +0000 (-0400) Subject: releng: Add script to change product update site to stable X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=51557ecca5122de3c9cf8eca4279dfe31e982e16;p=deliverable%2Ftracecompass.git releng: Add script to change product update site to stable Also add a parent script that executes both this script and the script that sets the automatic update. Change-Id: Ifd5d384900ec0fb58145c7bc735ed5e180c54a65 Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/79411 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann Tested-by: Bernd Hufmann --- diff --git a/releng/master_to_stable_release.sh b/releng/master_to_stable_release.sh new file mode 100755 index 0000000000..0f621b37ea --- /dev/null +++ b/releng/master_to_stable_release.sh @@ -0,0 +1,16 @@ +#!/bin/bash +############################################################################### +# Copyright (c) 2016 Ericsson +# +# 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 +############################################################################### + +# A simple script that automates the step when branching from master to a +# stable branch. + +source set_stable_update_site.sh +source set_automatic_updates.sh + diff --git a/releng/set_stable_update_site.sh b/releng/set_stable_update_site.sh new file mode 100755 index 0000000000..3a00ccf8f0 --- /dev/null +++ b/releng/set_stable_update_site.sh @@ -0,0 +1,31 @@ +#!/bin/bash +############################################################################### +# Copyright (c) 2016 Ericsson +# +# 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 +############################################################################### + +# A simple script that sets the rcp to use the stable update site. This is +# meant to be used when the master branch is being branched into a stable +# branch. + +PATH_TO_PRODUCT_FILE="../rcp/org.eclipse.tracecompass.rcp.product/tracing.product" + +OUTPUT=$(cat $PATH_TO_PRODUCT_FILE | grep "