Francesco Romani has uploaded a new change for review.

Change subject: build: pkgversion: minimum release should be 1
......................................................................

build: pkgversion: minimum release should be 1

For stable branches, we should never have release < 1.
E.g. we should avoid

v4.y.z-0

instead we should have

v4.y.z-1

Change-Id: Idace2ac53d6aafe674c7ad11f611d0de54fcbe5f
Label: ovirt-4.0-only
Signed-off-by: Francesco Romani <[email protected]>
---
M build-aux/pkg-version
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/37/59337/1

diff --git a/build-aux/pkg-version b/build-aux/pkg-version
index c290d76..67fa81f 100755
--- a/build-aux/pkg-version
+++ b/build-aux/pkg-version
@@ -19,7 +19,7 @@
 AWK_RELEASE='
     BEGIN { FS="-"; OFS="." }
     /^v[0-9]/ {
-      if (NF == 1) print 0
+      if (NF == 1) print 1
       else if (NF == 2) print $2
       else if (NF == 3) print $2, "git" substr($3, 2)
       else if (NF == 4) print $2, $3, "git" substr($4, 2)


-- 
To view, visit https://gerrit.ovirt.org/59337
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idace2ac53d6aafe674c7ad11f611d0de54fcbe5f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-4.0
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to