Change in ovirt-dwh[master]: packaging: open source like versioning scheme

ydary at redhat.com ydary at redhat.com
Thu Mar 14 13:11:30 UTC 2013


Yaniv Dary has submitted this change and it was merged.

Change subject: packaging: open source like versioning scheme
......................................................................


packaging: open source like versioning scheme

Add version.mak with version information.

Major and minor components are taken from pom.xml.
Fix is taken from version.mak.

Milestone is a string representation of the milestone
example for ordering:
 - master
 - alpha
 - master
 - beta
 - master
 - beta2
 - master
 - rc
 - master
 - rc2
 - master
 - <none>

RPM_RELEASE is a rpm specific release string that should be manually
modified after milestone change.

Example of sequence:

 # master
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # beta
 FIX_RELEASE=0
 MILESTONE=beta
 RPM_RELEASE=0.1

 # post beta
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.2.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # release
 FIX_RELEASE=0
 MILESTONE=
 RPM_RELEASE=1

 # post release
 FIX_RELEASE=1
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

Change-Id: Ibe2b7193c29bd504e2f3db79fda59ccca1efdb1c
Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
M Makefile
M packaging/ovirt-engine-dwh.spec.in
A version.mak
3 files changed, 62 insertions(+), 18 deletions(-)

Approvals:
  Yaniv Dary: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12742
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe2b7193c29bd504e2f3db79fda59ccca1efdb1c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>



More information about the Engine-commits mailing list