aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-01-15 15:54:11 +0000
committerJon Medhurst <tixy@linaro.org>2013-04-03 14:38:17 +0100
commit50463a53fe49b79bb18e274769fb5ff2cff358e3 (patch)
tree813f4fde58df2ae7a2bcd2083f8cb39e0904f40c
parenta2be2061df2c4ae6cd44f5cee0c0b45ee5062796 (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 685c93474a2..1573d7e22f3 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