Allow inheriting value of bt.name property for dev builds

This commit is contained in:
md_5 2025-03-10 16:31:21 +11:00
parent 37ddb93080
commit b74d5ec5b6
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -8,7 +8,7 @@ import lombok.Data;
public class BuildInfo
{
public static BuildInfo DEV = new BuildInfo( "dev", "Development", 0, null, new BuildInfo.Refs( "master", "master", "master", "master" ) );
public static BuildInfo DEV = new BuildInfo( System.getProperty( "bt.name", "dev" ), "Development", 0, null, new BuildInfo.Refs( "master", "master", "master", "master" ) );
public static BuildInfo EXPERIMENTAL = new BuildInfo( "exp", "Experimental", 0, null, new BuildInfo.Refs( "origin/experimental", "origin/experimental", "origin/experimental", "origin/experimental" ) );
//
private String name;