summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-04-30 17:49:52 -0400
committerRob Crittenden <rcritten@redhat.com>2008-05-05 13:54:36 -0400
commit447f263f8d328beeda6788f0bad949562ef2e077 (patch)
tree84812903943ac2e925d727dc565d99c95881832c /VERSION
parentd6171f8cef74d7bf8d475d3c05611e308f5923b8 (diff)
downloadfreeipa.git-447f263f8d328beeda6788f0bad949562ef2e077.tar.gz
freeipa.git-447f263f8d328beeda6788f0bad949562ef2e077.tar.xz
freeipa.git-447f263f8d328beeda6788f0bad949562ef2e077.zip
Redo the way versioning works in freeIPA.
The file VERSION is now the sole-source of versioning. The generated .spec files will been removed in the maintainer-clean targets and have been removed from the repository. By default a GIT build is done. To do a non-GIT build do: $ make TARGET IPA_VERSION_IS_GIT_SNAPSHOT=no When updating the version you can run this to regenerate the version: $ make version-update The version can be determined in Python by using ipaserver.version.VERSION
Diffstat (limited to 'VERSION')
-rw-r--r--VERSION55
1 files changed, 55 insertions, 0 deletions
diff --git a/VERSION b/VERSION
new file mode 100644
index 00000000..c512b6b6
--- /dev/null
+++ b/VERSION
@@ -0,0 +1,55 @@
+########################################################
+# freeIPA Version #
+# #
+# freeIPA versions are as follows #
+# 1.0.x New production series #
+# 1.0.x{pre,rc}y Preview/Testing & RC #
+# 1.0.0GITabcdefg Build from GIT #
+# #
+########################################################
+
+########################################################
+# This are the main version numbers #
+# #
+# <MAJOR>.<MINOR>.<RELEASE> #
+# #
+# e.g. IPA_VERSION_MAJOR=1 #
+# IPA_VERSION_MINOR=0 #
+# IPA_VERSION_RELEASE=0 #
+# -> "1.0.0" #
+########################################################
+IPA_VERSION_MAJOR=1
+IPA_VERSION_MINOR=0
+IPA_VERSION_RELEASE=0
+
+########################################################
+# For 'pre' releases the version will be #
+# #
+# <MAJOR>.<MINOR>.<RELEASE>pre<PRE_RELEASE> #
+# #
+# e.g. IPA_VERSION_PRE_RELEASE=1 #
+# -> "1.0.0pre1" #
+########################################################
+IPA_VERSION_PRE_RELEASE=
+
+########################################################
+# For 'rc' releases the version will be #
+# #
+# <MAJOR>.<MINOR>.<RELEASE>rc<RC_RELEASE> #
+# #
+# e.g. IPA_VERSION_RC_RELEASE=1 #
+# -> "1.0.0rc1" #
+########################################################
+IPA_VERSION_RC_RELEASE=
+
+########################################################
+# To mark GIT snapshots this should be set to 'yes' #
+# in the development BRANCH, and set to 'no' only in #
+# the IPA_X_X_RELEASE BRANCH #
+# #
+# <MAJOR>.<MINOR>.<RELEASE>GITxxx #
+# #
+# e.g. IPA_VERSION_IS_SVN_SNAPSHOT=yes #
+# -> "1.0.0GITabcdefg" #
+########################################################
+IPA_VERSION_IS_GIT_SNAPSHOT="yes"