[elbe-devel] [PATCH 2/6] contrib: add script to add CI entry to debian/changelog

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Feb 22 14:22:09 CET 2024


Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 contrib/dpkg-changelog-ci-entry | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100755 contrib/dpkg-changelog-ci-entry

diff --git a/contrib/dpkg-changelog-ci-entry b/contrib/dpkg-changelog-ci-entry
new file mode 100755
index 000000000000..970f752c1c51
--- /dev/null
+++ b/contrib/dpkg-changelog-ci-entry
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -e
+
+ver="$(dpkg-parsechangelog  --show-field VERSION).c${BUILD_NUMBER:?}.g$(git rev-parse HEAD)"
+
+export DEBEMAIL=nobody at localhost
+export DEBFULLNAME=nobody
+
+debchange --newversion "$ver" --distribution stable --urgency low "CI version"
-- 
2.43.2



More information about the elbe-devel mailing list