]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
build: Fetch all references before using git describe
authorDaniel Wagner <dwagner@suse.de>
Wed, 5 Apr 2023 06:27:53 +0000 (08:27 +0200)
committerDaniel Wagner <dwagner@suse.de>
Wed, 5 Apr 2023 06:32:31 +0000 (08:32 +0200)
commite417662000247ff84c4b10e6d233381b5d0f7853
tree3c6e04651e13a7b88cc28ea3863c6cbc7e48f686
parenta298e39fcb668dd0e814d49c373a358734aedf5e
build: Fetch all references before using git describe

The release script is using git describe to get the references string of
the library. The returned string validated if it is a valid release
string, e.g. v1.4. If not we abort the operation.

Thus we need to make sure that we have all references including the
tags, thus do a git fetch --all first.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
release.sh