Juan Hernandez has uploaded a new change for review.

Change subject: sdk: Use a dot to separate release number and date
......................................................................

sdk: Use a dot to separate release number and date

Currently the top level Makefile of the project generates the RPM
release tag adding the date and short git hash, but it does so without
adding a separator. This means that if the release number is 0.8 and the
date and git hash are 20150506.git012345 the complete release tag will
be 0.820150506.git012345. This makes an incorrect release tag. To solve
that issue this patch modifies the top level Makefile so that it adds a
dot to separate the release number and the date, thus generating a
release tag like 0.8.20150506.git012345.

Change-Id: Ia6c4a6ad8a186d6308b1cf74fbe2e309b0388488
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk-java 
refs/changes/03/40603/1

diff --git a/Makefile b/Makefile
index 9e8358f..129033f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 
 .PHONY: dist
 dist:
-       env rpmsuffix=$(GIT_RELEASE) $(MAKE) -C $(PROJ_DIR) tarball; mv 
$(PROJ_DIR)/*.gz .
+       env rpmsuffix=.$(GIT_RELEASE) $(MAKE) -C $(PROJ_DIR) tarball; mv 
$(PROJ_DIR)/*.gz .
 
 clean:
        $(MAKE) -C $(PROJ_DIR) clean; rm *gz


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6c4a6ad8a186d6308b1cf74fbe2e309b0388488
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to