From ff9b350e0e23d4addba01c7904237206a8045fec Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Mon, 20 Jan 2025 10:31:55 +0100 Subject: [PATCH] deb build: get version with dpkg-parsechangelog -S (#3405) --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 5b8d6fc51f8..ec80caff985 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f -export DEB_VERSION=$(shell dpkg-parsechangelog | grep -E '^Version:' | cut -f 2 -d ' ') +export DEB_VERSION=$(shell dpkg-parsechangelog -SVersion) export BUILD_VERSION=v${DEB_VERSION}-debian-pragmatic export GO111MODULE=on