forked from exponentcms/exponent-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexponent_version.php
62 lines (58 loc) · 2.23 KB
/
exponent_version.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
##################################################
#
# Copyright (c) 2004-2023 OIC Group, Inc.
#
# This file is part of Exponent
#
# Exponent is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License as published by the Free
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GPL: http://www.gnu.org/licenses/gpl.txt
#
##################################################
if (!defined('EXPONENT_VERSION_MAJOR')) {
// the RELEASE constant is changed by the build scripts at code freeze
define('RELEASE', 'RELEASE');
if (RELEASE !== '%%RELEASE%%') {
/** exdoc
* This is the major version number of Exponent; the 2 in 2.34.2-beta3
*/
define('EXPONENT_VERSION_MAJOR', 2);
/** exdoc
* This is the minor version number of Exponent; the 34 in 2.34.2-beta3
*/
define('EXPONENT_VERSION_MINOR', 7);
/** exdoc
* This is the revision version number of Exponent; the 2 in 2.34.2-beta3
*/
define('EXPONENT_VERSION_REVISION', 1);
/** exdoc
* This specifies the type of release, either 'alpha','beta','release-candidate' or '' (for stable).
*/
define('EXPONENT_VERSION_TYPE', '');
/** exdoc
* This number is bumped each time a distribution of a single version is
* released. For instance, the 3rd beta has an version type iteration of 3.
*/
define('EXPONENT_VERSION_ITERATION', ''); // only applies to betas, alphas, or release candidates
/** exdoc
* This is the date that this version of Exponent was released.
*/
define('EXPONENT_VERSION_BUILDDATE', 1676073601);
} else {
// the info for the "next" version if we are a pre-release from the repository
define('EXPONENT_VERSION_MAJOR', 2);
define('EXPONENT_VERSION_MINOR', 7);
define('EXPONENT_VERSION_REVISION', 1);
define('EXPONENT_VERSION_TYPE', 'develop');
define('EXPONENT_VERSION_ITERATION', '');
define('EXPONENT_VERSION_BUILDDATE', time());
}
// set DEVELOPMENT to 1 to debug the install process
// define('DEVELOPMENT','1');
}
?>