- use git tag first if available

- update mods.toml
This commit is contained in:
dags- 2020-02-28 22:54:39 +00:00
parent b98c44609d
commit 85d603b219
4 changed files with 19 additions and 10 deletions

2
.gitignore vendored
View File

@ -11,7 +11,7 @@
.mtj.tmp/
# Package Files #
#*.jar
*.jar
*.war
*.nar
*.ear

View File

@ -5,8 +5,10 @@
![TerraForged Social](https://terraforged.com/curse/header.jpg)
#### About:
TerraForged is a new terrain generation mod for Minecraft (Java Edition), whose aim is to create more
expansive and inspiring worlds to build and explore in!
TerraForged is an ambitious new terrain generator mod for Minecraft (Java Edition) attempting to
create more immersive, inspiring worlds to explore and build in. Featuring an overhaul of the
vanilla generation system, custom terrain shapes, simulated erosion, better rivers, custom
decorations, tonnes of configuration options, and more!
#### Website(s):
[https://terraforged.com](https://terraforged.com)

View File

@ -13,7 +13,7 @@ apply plugin: "net.minecraftforge.gradle"
apply plugin: "maven-publish"
apply plugin: "eclipse"
version = "${mc_version}-${version}${getBuildNumber()}"
version = "${mc_version}-${version}${getClassifier()}"
archivesBaseName = "TerraForged"
repositories {
@ -98,10 +98,14 @@ publish {
dependsOn("reobfJar")
}
static def getBuildNumber() {
def buildNumber = System.getenv("BUILD_NUMBER")
if (buildNumber == null) {
return ""
static def getClassifier() {
def buildTag = System.getenv("GIT_TAG_NAME");
if (buildTag != null) {
return "-${buildTag}"
}
return "-${buildNumber}"
def buildNumber = System.getenv("BUILD_NUMBER")
if (buildNumber != null) {
return "-${buildNumber}"
}
return ""
}

View File

@ -9,4 +9,7 @@ credits="dags"
logoFile="terraforged.png"
displayURL="https://terraforged.com"
issueTrackerURL="https://github.com/TerraForged/TerraForged/issues"
description="A 'terrain first' world generator"
description='''
Description:
A terrain generator attempting to create more immersive, inspiring worlds to explore and build in!
'''