Skip to content

Commit cb2ddee

Browse files
committed
Fixes to the versioning and some minor improvements in line with suggestions raised on the PR.
1 parent 75d2060 commit cb2ddee

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

pom.xml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>me.totalfreedom</groupId>
66
<artifactId>totalfreedom</artifactId>
7-
<version>5.1</version>
7+
<version>5.0.1</version>
88
<packaging>jar</packaging>
99

1010
<properties>
@@ -180,7 +180,7 @@
180180
<propertyfile file="src/main/resources/build.properties" comment="Build information. Edit this to your liking.">
181181
<entry key="buildAuthor" default="unknown" />
182182
<entry key="buildNumber" default="0" />
183-
<entry key="buildCodeName" default="Electrum (MC 1.12) Pre-Release 1" />
183+
<entry key="buildCodeName" default="${tfm.build.codename}" />
184184
<entry key="buildVersion" default="${project.version}" />
185185
</propertyfile>
186186
</target>
@@ -265,25 +265,6 @@
265265
<format>properties</format>
266266
<failOnNoGitDirectory>true</failOnNoGitDirectory>
267267
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
268-
<excludeProperties>
269-
<excludeProperty>git.branch</excludeProperty>
270-
<excludeProperty>git.build.host</excludeProperty>
271-
<excludeProperty>git.build.user.email</excludeProperty>
272-
<excludeProperty>git.build.user.name</excludeProperty>
273-
<excludeProperty>git.closest.tag.commit.count</excludeProperty>
274-
<excludeProperty>git.closest.tag.name</excludeProperty>
275-
<excludeProperty>git.commit.id.describe</excludeProperty>
276-
<excludeProperty>git.commit.id.describe-short</excludeProperty>
277-
<excludeProperty>git.commit.message.full</excludeProperty>
278-
<excludeProperty>git.commit.message.short</excludeProperty>
279-
<excludeProperty>git.commit.time</excludeProperty>
280-
<excludeProperty>git.commit.user.email</excludeProperty>
281-
<excludeProperty>git.dirty</excludeProperty>
282-
<excludeProperty>git.remote.origin.url</excludeProperty>
283-
<excludeProperty>git.tags</excludeProperty>
284-
<includeOnlyProperty>git.build.version</includeOnlyProperty>
285-
<includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
286-
</excludeProperties>
287268
<includeOnlyProperties>
288269
<includeOnlyProperty>git.build.time</includeOnlyProperty>
289270
<includeOnlyProperty>git.commit.id</includeOnlyProperty>

src/main/java/me/totalfreedom/totalfreedommod/command/Command_cake.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ public boolean run(CommandSender sender, Player playerSender, Command cmd, Strin
4949

5050
return true;
5151
}
52-
}
52+
}

src/main/java/me/totalfreedom/totalfreedommod/command/Command_totalfreedommod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean run(CommandSender sender, Player playerSender, Command cmd, Strin
5252
msg("Running on " + ConfigEntry.SERVER_NAME.getString() + ".", ChatColor.GOLD);
5353
msg("Created by Madgeek1450 and Prozza.", ChatColor.GOLD);
5454
msg(String.format("Version "
55-
+ ChatColor.BLUE + "%s - %s.%s " + ChatColor.GOLD + "("
55+
+ ChatColor.BLUE + "%s - %s Build %s " + ChatColor.GOLD + "("
5656
+ ChatColor.BLUE + "%s" + ChatColor.GOLD + ")",
5757
build.codename,
5858
build.version,

0 commit comments

Comments
 (0)