disable revision detection for git

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7084 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 14 years ago
parent 6d2e0f5fb4
commit 55da979291

@ -14,17 +14,18 @@ public final class yacyBuildProperties {
* returns the SVN-Revision Number as a String
*/
public static String getSVNRevision() {
if ("@REPL_REVISION_NR@".contains("@")) {
final String revision = "@REPL_REVISION_NR@";
if (revision.contains("@") || revision.contains("$")) {
return "0";
}
return "@REPL_REVISION_NR@";
return revision;
}
/**
* returns the version String (e. g. 0.9)
*/
public static String getVersion() {
if ("@REPL_VERSION@".contains("@")) {
if ("@REPL_VERSION@".contains("@") ) {
return "0.1";
}
return "@REPL_VERSION@";

Loading…
Cancel
Save