deb build: get version with dpkg-parsechangelog -S (#3405)

This commit is contained in:
mmetc 2025-01-20 10:31:55 +01:00 committed by GitHub
parent bd7e1b50c3
commit ff9b350e0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
debian/rules vendored
View file

@ -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