File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx2G
55minecraft_version =1.16.5
66fabric_loader_version =0.11.1
77# Mod Properties
8- mod_version =1.4.1
8+ mod_version =1.4.2
99maven_group =com.oroarmor
1010archives_base_name =netherite-plus-mod
1111project_name =Netherite Plus Mod
You can’t perform that action at this time.
0 commit comments