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-15 10:07:09 +0100
commit7da7b7c108cca03ac23d82ade02d3562abcc92f4 (patch)
tree0755034a75f149c8ea7579d09cae2fe2a30e2d4d
parentfcc1216e21e7d759a477abde448b605bac77e880 (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