mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 22:19:12 +00:00
Merge pull request #695 from libexpat/fix-coverage-sh-for-forks
coverage.sh: Be robust towards absence of Git tags
This commit is contained in:
commit
f2925e6183
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ _show_summary() {
|
|||
|
||||
|
||||
_main() {
|
||||
version="$(git describe --tags)"
|
||||
version="$(git describe --tags 2>/dev/null || echo HEAD)"
|
||||
coverage_info=coverage.info
|
||||
|
||||
local build_dirs=()
|
||||
|
|
Loading…
Add table
Reference in a new issue