From f1b5779acbdcd6075745c710c5a0d6a33675ee3d Mon Sep 17 00:00:00 2001 From: tterrag1098 Date: Sun, 25 Jan 2015 15:25:19 -0500 Subject: [PATCH] Improve changelog formatting and fix wrong maven dir property name --- build.gradle | 7 ++++--- changelog | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 99d55c77..292d0967 100644 --- a/build.gradle +++ b/build.gradle @@ -122,14 +122,14 @@ publishing { } repositories { - String prop = dev ? "chisel_mavendir" : "chisel_mavendir_dev" + String prop = dev ? "chisel_mavendir" : "chisel_dev_mavendir" if (project.hasProperty(prop)) { maven { url project.getProperty(prop) } } } } -println('Changelog\n:' + getChangelogText()) +println('Changelog:\n' + getChangelogText()) String getChangelogText() { def changelogFile = new File('changelog') @@ -141,7 +141,8 @@ String getChangelogText() { return } if (it.size() > 1) { - str += "$it" + (lineCount == 0 ? '\n\n' : '\n') + def temp = "$it" + (lineCount == 0 ? '\n\n' : '\n') + str += (it.startsWith('-') ? '' : '\n') + "$temp" lineCount++ return } else { diff --git a/changelog b/changelog index 74418497..5912ada6 100644 --- a/changelog +++ b/changelog @@ -2,14 +2,12 @@ New - Add config to prevent chiseling between vanilla leaf types - Use vanilla 1.8 textures for the 1.8 blocks, implement 1.8 block pillars - Fixes - All blocks now have proper breaking animations - #175 Fix bad texture on bottom sides of CTMV blocks - #168 Fix only one type of block generating per world - #176 Fix bad aged brick texture - #174 Fix chiseling stained glass always giving white variations - API - Add ability for custom chisels to define their own modes - Add support for removing variations and groups via the API