Skip to content

Commit a16504c

Browse files
committed
Version 1.4.2
1 parent 279efa8 commit a16504c

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ task generateChangelog {
9898

9999
def lastTag = getLastVersion()
100100
def currentTag = project.mod_version
101-
def commits = "git log --max-count=100 --pretty=format:\"- %B\" $lastTag..$currentTag".execute()
101+
102+
def commitLog = System.getProperty("os.name").toLowerCase(Locale.ENGLISH).startsWith("windows") ? "B" : "b"
103+
104+
def commits = "git log --max-count=100 --pretty=format:%$commitLog $lastTag..$currentTag".execute()
102105
println "Last version: $lastTag"
103106
println "Current version: $currentTag"
104107

@@ -128,7 +131,7 @@ task generateChangelog {
128131
if (changes.length() == 1) {
129132
changes << processedLine
130133
} else {
131-
if(processedLine.trim() != "" && processedLine.startsWith("-") && !processedLine.startsWith("- !"))
134+
if(processedLine.trim() != "")
132135
changes << "\n$processedLine"
133136
}
134137
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx2G
55
minecraft_version=1.16.5
66
fabric_loader_version=0.11.1
77
# Mod Properties
8-
mod_version=1.4.1
8+
mod_version=1.4.2
99
maven_group=com.oroarmor
1010
archives_base_name=netherite-plus-mod
1111
project_name=Netherite Plus Mod

0 commit comments

Comments
 (0)