summaryrefslogtreecommitdiff
path: root/packages/debian
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-05-02 20:03:23 -0600
committerChad Smith <chad.smith@canonical.com>2018-05-02 20:03:23 -0600
commitd24057adbc70e7b034b8aca36c5351938b5de74a (patch)
tree8fffe775582d84c006e174793e3cde3fb0e43645 /packages/debian
parentfed07fc6cddebcbc3e744926509c362d9e200aeb (diff)
downloadvyos-cloud-init-d24057adbc70e7b034b8aca36c5351938b5de74a.tar.gz
vyos-cloud-init-d24057adbc70e7b034b8aca36c5351938b5de74a.zip
tools: Support adding a release suffix through packages/bddeb.
bddeb already supported passing in a '--release' and that would get into the changelog line. If you used bddeb to build packages for a PPA, and built multiple releases, then you would get the same version for each release, and launchpad would reject your upload. The change here means we get a ~16.04.1 (for xenial) suffix on the dpkg version. If the distro-info-data package is not installed, or the release is not known (such as the default "UNRELEASED"), then you get no suffix.
Diffstat (limited to 'packages/debian')
-rw-r--r--packages/debian/changelog.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/debian/changelog.in b/packages/debian/changelog.in
index bdf8d56f..930322f5 100644
--- a/packages/debian/changelog.in
+++ b/packages/debian/changelog.in
@@ -1,5 +1,5 @@
## template:basic
-cloud-init (${version_long}-1~bddeb) ${debian_release}; urgency=low
+cloud-init (${version_long}-1~bddeb${release_suffix}) ${debian_release}; urgency=low
* build