Merge "Add Job to run tempest against odl-neutron-dummyprovider-test"
[releng/builder.git] / jjb / autorelease / include-raw-autorelease-release-versions.sh
1 #!/bin/bash
2 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
3 ##############################################################################
4 # Copyright (c) 2015 The Linux Foundation and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11
12 # RELEASE_TAG=Helium-SR2  # Example
13
14 ./scripts/version.sh release $RELEASE_TAG
15 git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
16 git commit -am "Release $RELEASE_TAG"
17
18 mkdir patches
19 git submodule foreach 'git format-patch --stdout origin/master > ../patches/$name.patch'
20
21 ./scripts/fix-relativepaths.sh
22