Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: build: read version correctly ......................................................................
packaging: build: read version correctly broken by 34a86209eb82e1 Change-Id: I6c2fca9a1f9006548ff01b82b55f1dc035d8e932 Signed-off-by: Alon Bar-Lev <[email protected]> --- M Makefile 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/74/25374/1 diff --git a/Makefile b/Makefile index 360665c..9ca076b 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ include version.mak # major, minor, seq -POM_VERSION:=$(shell cat pom.xml | grep '<engine.version>' | sed -e 's/.*>\(.*\)<.*/\1/' -e 's/-SNAPSHOT//') +POM_VERSION:=$(shell cat pom.xml | head -n 20 | grep '<version>' | head -n 1 | sed -e 's/.*>\(.*\)<.*/\1/' -e 's/-SNAPSHOT//') # major, minor from pom and fix APP_VERSION=$(shell echo $(POM_VERSION) | sed 's/\([^.]*\.[^.]\)\..*/\1/').$(FIX_RELEASE) RPM_VERSION=$(APP_VERSION) -- To view, visit http://gerrit.ovirt.org/25374 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6c2fca9a1f9006548ff01b82b55f1dc035d8e932 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
