diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-04-30 17:49:52 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-05 13:53:57 -0400 |
commit | 5ad2af3429580bc45bdfb7de53601ddf615266bf (patch) | |
tree | 546013e9f126d8d4d186421d1cf7450dfb8dda3b /VERSION | |
parent | 23fe67996cc05edf71d58bf52ef0aa8c7c0ecf7a (diff) | |
download | freeipa-5ad2af3429580bc45bdfb7de53601ddf615266bf.tar.gz freeipa-5ad2af3429580bc45bdfb7de53601ddf615266bf.tar.xz freeipa-5ad2af3429580bc45bdfb7de53601ddf615266bf.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-- | VERSION | 55 |
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" |