Merge pull request #221 from schuellerf/main

Use "--tags" parameter to get the correct git-tag
This commit is contained in:
Arnout Engelen
2022-01-31 15:15:18 +01:00
committed by GitHub

View File

@@ -1,3 +1,3 @@
#!/bin/bash
(git describe 2>/dev/null || pwd | sed -e "s/.*\\///" | sed -e "s/[^-]*//") | tail -c +2
(git describe --tags 2>/dev/null || pwd | sed -e "s/.*\\///" | sed -e "s/[^-]*//") | tail -c +2