forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: keep server version # in a file (html/inc/server_version.inc)
... rather than generating it during configure. This way things work for projects that don't do "configure", e.g. because they use only the web code. And it's simpler. Maintain this as for client version #s. The minor version # is even in release branches, odd in development branches like master.
- Loading branch information
1 parent
2a58c1f
commit 6e92d24
Showing
5 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
// the server code release number (major/minor/release). | ||
// Update this when you do a server release. | ||
|
||
// public releases have even minor #, | ||
// and are assumed to have a branch on github. | ||
// dev versions (e.g. master) have an odd minor # | ||
|
||
$server_version = array(1, 1, 0); | ||
|
||
$server_version_str = sprintf("%d.%d.%d", | ||
$server_version[0], $server_version[1], $server_version[2] | ||
); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters