mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
deb build: get version with dpkg-parsechangelog -S (#3405)
This commit is contained in:
parent
bd7e1b50c3
commit
ff9b350e0e
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue