Francesco Romani has uploaded a new change for review.
Change subject: build: we don't use the VERSION file anymore
......................................................................
build: we don't use the VERSION file anymore
Let's get the version from git describe, because
we don't use anymore the VERSION file
Change-Id: I718d88f9ca4089973f5fdab0fa1bae3246480aa0
Backport-To: 4.0
Signed-off-by: Francesco Romani <fromani(a)redhat.com>
---
M build-aux/pkg-version
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/45/59345/1
diff --git a/build-aux/pkg-version b/build-aux/pkg-version
index c290d76..c1aa13f 100755
--- a/build-aux/pkg-version
+++ b/build-aux/pkg-version
@@ -25,7 +25,7 @@
else if (NF == 4) print $2, $3, "git" substr($4, 2)
}'
-PKG_VERSION=`cat VERSION 2> /dev/null || git describe --tags --match
"v[0-9]*"`
+PKG_VERSION=`git describe --tags --match "v[0-9]*"`
if test "x$1" = "x--full"; then
echo $PKG_VERSION | tr -d '[:space:]'
--
To view, visit
https://gerrit.ovirt.org/59345
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I718d88f9ca4089973f5fdab0fa1bae3246480aa0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani(a)redhat.com>