]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tools/git-version-gen: use NEWS as a fallback
authorKarel Zak <kzak@redhat.com>
Wed, 14 Jul 2021 13:57:00 +0000 (15:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 14 Jul 2021 13:57:00 +0000 (15:57 +0200)
commit90a1baf9a72454140a370a35c8dc42bd0dddac24
treea8a656a03ce83ae674ec0a07e8dc3c2c74602efa
parentcd313d30952ec43554fde087a86087b615124825
tools/git-version-gen: use NEWS as a fallback

* define ".tarball-version" as the default if not specified by $1

* try read the version string from NEWS file as a fallback if the
  git-repository or .tarball-version is not available

Fixes: https://github.com/karelzak/util-linux/issues/1381
Signed-off-by: Karel Zak <kzak@redhat.com>
tools/git-version-gen