summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-19 20:02:05 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-19 20:02:05 +0100
commit04aa70e3f75169fc592b20acfa6e0b2f37d90a6c (patch)
treea849f9384e7305a95ec07ed53f408e759ff98fe2
parent7f07227a24666195dd268a7a340e9e8b5ed69e0e (diff)
downloadvyos-1x-04aa70e3f75169fc592b20acfa6e0b2f37d90a6c.tar.gz
vyos-1x-04aa70e3f75169fc592b20acfa6e0b2f37d90a6c.zip
Debian: T2267: extend version tag from GIT repo
This extends commit 2c3e4696b3e22 ("T2267: Versioning: Update version tag from GIT repo") to also include release tags.
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 9a6ab2996..d007089a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_TARGET_ARCH)
override_dh_strip_nondeterminism:
override_dh_gencontrol:
- dh_gencontrol -- -v$(shell (git describe --tags --long --match 'vyos/*' --dirty 2>/dev/null || echo 0.0-no.git.tag) | sed -E 's%vyos/%%' | sed -E 's%-dirty%+dirty%')
+ dh_gencontrol -- -v$(shell (git describe --tags --long --match 'vyos/*' --match '1.4.*' --dirty 2>/dev/null || echo 0.0-no.git.tag) | sed -E 's%vyos/%%' | sed -E 's%-dirty%+dirty%')
override_dh_auto_build:
make all