Add the actual version string to helma.main.Server again
This commit is contained in:
parent
c2b37a8243
commit
66fa98353e
2 changed files with 2 additions and 1 deletions
|
@ -172,6 +172,7 @@ tasks.register('processSource', Sync) {
|
|||
line -> line
|
||||
.replaceAll('__builddate__', new Date().format("d MMM yyyy"))
|
||||
.replaceAll('__commithash__', gitOutput.toString().trim())
|
||||
.replaceAll('__version__', version)
|
||||
} into "${project.buildDir}/src"
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import helma.util.ResourceProperties;
|
|||
*/
|
||||
public class Server implements Runnable {
|
||||
// version string
|
||||
public static final String version = "🐜";
|
||||
public static final String version = "__version__";
|
||||
|
||||
// build date
|
||||
public static final String buildDate = "__builddate__";
|
||||
|
|
Loading…
Add table
Reference in a new issue