summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-01-15 15:54:11 +0000
committerJon Medhurst <tixy@linaro.org>2014-03-31 13:57:53 +0100
commitc6b75f2012ad4e85ea627664f182c19c052241a4 (patch)
tree6935fd07a6bb5a5e967ae2a707df3944448dd513
parent8785ac07abdf149990ff7a6f85b93caf7c9dc2aa (diff)
gator: ubuntu: Get do-packaging script to set release codename
Newer versions of dch set the version to UNRELEASED so use "dch -r" to set the correct name. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rwxr-xr-xtools/gator/debian/scripts/do-packaging1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gator/debian/scripts/do-packaging b/tools/gator/debian/scripts/do-packaging
index 685c93474a26..1573d7e22f32 100755
--- a/tools/gator/debian/scripts/do-packaging
+++ b/tools/gator/debian/scripts/do-packaging
@@ -53,6 +53,7 @@ then
export DEBFULLNAME='Jon Medhurst (Tixy)'
fi
dch -i -c debian/changelog CHANGE_MSG
+dch -r -c debian/changelog ""
TIMESTAMP="$(date -u +%Y%m%d%H%M%S)"
sed -i -e "1 s/ubuntu1/-$TIMESTAMP/" debian/changelog