summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-11-04 12:42:40 +0200
committerRiku Voipio <riku.voipio@linaro.org>2015-11-04 12:42:40 +0200
commit972b7ae9386af360947fe9c5f57a70375e7d0690 (patch)
treec72762452df313df3635f40958e61487561ebbf9
parentdfe6fc35fc73a1148dcb53914178dfd97d6cce9e (diff)
downloadubuntu-packaging-tools-972b7ae9386af360947fe9c5f57a70375e7d0690.tar.gz
prepend new changelog entry
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-rwxr-xr-xjenkins-makesources4
1 files changed, 3 insertions, 1 deletions
diff --git a/jenkins-makesources b/jenkins-makesources
index 4b17067..caecb71 100755
--- a/jenkins-makesources
+++ b/jenkins-makesources
@@ -73,7 +73,7 @@ version=${pkg_version}-${extraver}
echo "Preparing ${version}"
-cat > ${pkg_dir}/debian/changelog << EOF
+cat > /tmp/changelog.header << EOF
${upstream_source} (${version}) ${distribution}; urgency=low
* CI - ${upstream_source} snapshot:
@@ -87,6 +87,8 @@ ${upstream_source} (${version}) ${distribution}; urgency=low
-- Linaro Packagers <linaro-pkg@lists.launchpad.net> ${currentdate}
EOF
+cat /tmp/changelog.header ${pkg_dir}/debian/changelog > /tmp/changelog
+mv /tmp/changelog ${pkg_dir}/debian/changelog
cd ${pkg_dir}
dpkg-buildpackage -d -nc -us -uc -rfakeroot -S