Skip to content
Snippets Groups Projects
Commit 21cecf9a authored by Edric Milaret's avatar Edric Milaret Committed by Guillaume Roguez
Browse files

packaging: Fix version number on deb based distribution

- Package was generated without new version being set, hence the system
complains about the version being older that the installed one.
This patch adds the command line that was used before by joulupukki to
set new version in changelog

Issue: #80006
Change-Id: I8d603d3ac7dcf26bd99b6c77f587ba059997bbbe
parent 7f72df0b
Branches
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -44,6 +45,7 @@ ...@@ -44,6 +45,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -53,6 +55,7 @@ ...@@ -53,6 +55,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -62,6 +65,7 @@ ...@@ -62,6 +65,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -71,6 +75,7 @@ ...@@ -71,6 +75,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -80,6 +85,7 @@ ...@@ -80,6 +85,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -89,6 +95,7 @@ ...@@ -89,6 +95,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -98,6 +105,7 @@ ...@@ -98,6 +105,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
...@@ -107,6 +115,7 @@ ...@@ -107,6 +115,7 @@
"mkdir -p /sources/ring-daemon", "mkdir -p /sources/ring-daemon",
"cd /sources/ring-daemon", "cd /sources/ring-daemon",
"/ring-daemon/debian/rules get-orig-source", "/ring-daemon/debian/rules get-orig-source",
"dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"",
"dch --release --distribution \"unstable\" debian/changelog", "dch --release --distribution \"unstable\" debian/changelog",
"dpkg-buildpackage -uc -us", "dpkg-buildpackage -uc -us",
"cd .. ", "cd .. ",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment