File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v2
12+ - name : Pull Tags
13+ run : git fetch --all --tags
1214 - name : Set up JDK 1.8
1315 uses : actions/setup-java@v1
1416 with :
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ task generateChangelog {
8888
8989 def lastTag = getLastVersion()
9090 def currentTag = project. mod_version
91- def commits = " git log --max-count=100 --pretty=format:%s $lastTag .. $currentTag " . execute()
91+ def commits = " git log --max-count=100 --pretty=format:\" %B \" $lastTag .. $currentTag " . execute()
9292 println " Last version: $lastTag "
9393 println " Current version: $currentTag "
9494
@@ -104,10 +104,11 @@ task generateChangelog {
104104
105105 println " Adding changelog line:"
106106 println " $processedLine "
107- if (changes. length() == 0 ) {
107+ if (changes. length() == 1 ) {
108108 changes << processedLine
109109 } else {
110- changes << " \n $processedLine "
110+ if (processedLine. trim() != " " )
111+ changes << " \n - $processedLine "
111112 }
112113 }
113114 commits. err. eachLine { line -> println line }
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.3.15
8+ mod_version =1.3.16
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