mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-04-13 09:31:28 +00:00
Allow inheriting value of bt.name property for dev builds
This commit is contained in:
parent
37ddb93080
commit
b74d5ec5b6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue