Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (56 sloc) 1.976 kb
37c5ccb @exponentcms Exponent port to git vcs as of revision 537 in launchpad bzr
authored
1 <?php
2 ##################################################
3 #
7e61382 @dleffler Cleans up exponent_version file to better work with development, pre-…
dleffler authored
4 # Copyright (c) 2004-2011 OIC Group, Inc.
37c5ccb @exponentcms Exponent port to git vcs as of revision 537 in launchpad bzr
authored
5 # Written and Designed by James Hunt
6 #
7 # This file is part of Exponent
8 #
9 # Exponent is free software; you can redistribute
10 # it and/or modify it under the terms of the GNU
11 # General Public License as published by the Free
12 # Software Foundation; either version 2 of the
13 # License, or (at your option) any later version.
14 #
15 # GPL: http://www.gnu.org/licenses/gpl.txt
16 #
17 ##################################################
18
19 if (!defined('EXPONENT_VERSION_MAJOR')) {
991e334 @dleffler Minor typo corrections
dleffler authored
20 // the RELEASE constant is changed by the build scripts at code freeze
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
21 define('RELEASE','%%RELEASE%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
22 if (RELEASE != '%%RELEASE%%') {
37c5ccb @exponentcms Exponent port to git vcs as of revision 537 in launchpad bzr
authored
23
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
24 /* exdoc
25 * This is the major version number of Exponent; the 0 in 0.96.2-beta3
26 */
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
27 define('EXPONENT_VERSION_MAJOR','%%MAJOR%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
28 /* exdoc
29 * This is the minor version number of Exponent; the 96 in 0.96.2-beta3
30 */
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
31 define('EXPONENT_VERSION_MINOR','%%MINOR%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
32 /* exdoc
33 * This is the revision version number of Exponent; the 2 in 0.96.2-beta3
34 */
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
35 define('EXPONENT_VERSION_REVISION','%%REVISION%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
36 /* exdoc
37 * This is the date that this version of Exponent was exported from BZR and built.
38 */
c22fafd @dleffler Fix error in exponent_version.php file and update "RELEASE" file for …
dleffler authored
39 define('EXPONENT_VERSION_BUILDDATE','%%BUILDDATE%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
40 /* exdoc
41 * This specifies the type of release, either 'alpha','beta','rc' or '' (for stable).
42 */
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
43 define('EXPONENT_VERSION_TYPE','%%TYPE%%');
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
44 /* exdoc
45 * This number is bumped each time a distribution of a single version is
46 * released. For instance, the 3rd beta has an version type iteration of 3.
47 */
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
48 define('EXPONENT_VERSION_ITERATION','%%ITERATION%%'); // only applies to betas/alphas / rcs
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
49 } else {
50 define('EXPONENT_VERSION_MAJOR','2');
51 define('EXPONENT_VERSION_MINOR','0');
52 define('EXPONENT_VERSION_REVISION','0');
53 define('EXPONENT_VERSION_TYPE','develop');
54 define('EXPONENT_VERSION_ITERATION','');
fcb1536 @dleffler Reset exponent_version.php back to develop state.
dleffler authored
55 define('EXPONENT_VERSION_BUILDDATE',time());
cfcfc97 @dleffler Revised exponent_version.php to better work with git flow and not bre…
dleffler authored
56 }
37c5ccb @exponentcms Exponent port to git vcs as of revision 537 in launchpad bzr
authored
57 }
58
59 ?>
Something went wrong with that request. Please try again.