projects (0.5-%BUILD%) unstable; urgency=medium
* mconfigure -o for Debian 7 downward compatibility
+ * works with multiple git tags on the same commit
-- Michael Wagner <michael@wagnertech.de> Thu, 11 Apr 2019 22:54:48 +0100
projects (0.4-%BUILD%) unstable; urgency=medium
build="$build$(check_unversioned)"
elif [ -e .git ]
then
- tag=$(git describe --tags 2>/dev/null) || true
+ tag=$(git describe --tags --match "${paket}_*" 2>/dev/null) || true
if test -z "$tag"
then
tag="0.0-0TOP"
fi
- tag_paket=${tag%_*}
- if [ "$tag_paket" != "$paket" ]
- then
- tag="0.0-0TOP"
- fi
changes=$(check_unversioned)
tag="$tag$changes"
version=${tag%-*}