Change in ovirt-scheduler-proxy[master]: Automatize version manipulation and releases
msivak at redhat.com
msivak at redhat.com
Fri Feb 28 12:40:45 UTC 2014
Martin Sivák has submitted this change and it was merged.
Change subject: Automatize version manipulation and releases
......................................................................
Automatize version manipulation and releases
This adds couple of new commands to the Makefile.
The most important commands now are:
- make tarball
gets the current version from git and creates
a tarball with the sources
- make rpm
creates a tarball and makes an rpm out of it
- make release
checks if the sources are clean
bumps version (base is taken from git)
builds and tests everything
checks for changelog message
commits and tags the version bump
- make test
starts the test suite
The version is computed as follows:
- the base is the content of the latest reachable
tag in the format X.Y.Z*
- if the latest commit is not the one with the tag
then a devel suffix is added in the following form:
.0.<number of commits since last tag>.<commit hash>
So the versions we can get with this look like this:
0.1.4
0.1.3.0.4.g5098423
The rest of the new makefile commands are not supposed
to be used manually although they will work.
Change-Id: I82fb8e250991a9594f0186531f21317a81cbdd30
Signed-off-by: Martin Sivak <mars at montik.net>
---
M Makefile
A build-aux/bumpver.sh
2 files changed, 54 insertions(+), 6 deletions(-)
Approvals:
Martin Sivák: Verified; Looks good to me, approved
Jiří Moskovčák: Looks good to me, but someone else must approve
--
To view, visit http://gerrit.ovirt.org/25148
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I82fb8e250991a9594f0186531f21317a81cbdd30
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-scheduler-proxy
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Kobi Ianko <kobi at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list