Fix build script versioning, release a 1.8.9 build.

This commit is contained in:
wizjany 2016-01-16 23:42:21 -05:00
parent 8c5b455d0f
commit 1fe197df98
3 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,7 @@ if (!project.hasProperty("artifactory_password")) ext.artifactory_password = ""
if (!project.hasProperty("gitCommitHash")) { if (!project.hasProperty("gitCommitHash")) {
try { try {
def repo = Grgit.open(project.file('.')) def repo = org.ajoberstar.grgit.Grgit.open(project.file('.'))
ext.gitCommitHash = repo.head().abbreviatedId ext.gitCommitHash = repo.head().abbreviatedId
} catch (Exception e) { } catch (Exception e) {
ext.gitCommitHash = "no_git_id" ext.gitCommitHash = "no_git_id"

View File

@ -26,7 +26,10 @@ repositories {
} }
} }
version = "6.1.1"
ext.forgeVersion = "11.15.0.1695" ext.forgeVersion = "11.15.0.1695"
ext.internalVersion = version + ";" + gitCommitHash
minecraft { minecraft {
version = "1.8.9-${project.forgeVersion}" version = "1.8.9-${project.forgeVersion}"
mappings = "snapshot_20160111" mappings = "snapshot_20160111"

View File

@ -6,7 +6,7 @@
"mcversion": "${mcVersion}", "mcversion": "${mcVersion}",
"url": "http://wiki.sk89q.com/wiki/WorldEdit", "url": "http://wiki.sk89q.com/wiki/WorldEdit",
"updateUrl": "", "updateUrl": "",
"authors": [ "sk89q", "wizjany", "TomyLobo" ], "authors": [ "sk89q", "wizjany", "TomyLobo", "kenzierocks" ],
"credits": "", "credits": "",
"logoFile": "", "logoFile": "",
"screenshots": [], "screenshots": [],