Add the actual version string to helma.main.Server again

This commit is contained in:
Tobi Schäfer 2025-01-03 15:22:23 +01:00
parent c2b37a8243
commit 66fa98353e
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
2 changed files with 2 additions and 1 deletions

View file

@ -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"
}

View file

@ -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__";