Skip to content

Commit

Permalink
deb build: get version with dpkg-parsechangelog -S (#3405)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc authored Jan 20, 2025
1 parent bd7e1b5 commit ff9b350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit ff9b350

Please sign in to comment.