From 5ad2af3429580bc45bdfb7de53601ddf615266bf Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 30 Apr 2008 17:49:52 -0400 Subject: 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 --- VERSION | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 VERSION (limited to 'VERSION') diff --git a/VERSION b/VERSION new file mode 100644 index 000000000..c512b6b64 --- /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 # +# # +# .. # +# # +# 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 # +# # +# ..pre # +# # +# e.g. IPA_VERSION_PRE_RELEASE=1 # +# -> "1.0.0pre1" # +######################################################## +IPA_VERSION_PRE_RELEASE= + +######################################################## +# For 'rc' releases the version will be # +# # +# ..rc # +# # +# 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 # +# # +# ..GITxxx # +# # +# e.g. IPA_VERSION_IS_SVN_SNAPSHOT=yes # +# -> "1.0.0GITabcdefg" # +######################################################## +IPA_VERSION_IS_GIT_SNAPSHOT="yes" -- cgit