Skip to content

Commit d9b9892

Browse files
committed
Version 1.3.16 and fix changelog
1 parent 2994715 commit d9b9892

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
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:

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }

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.3.15
8+
mod_version=1.3.16
99
maven_group=com.oroarmor
1010
archives_base_name=netherite-plus-mod
1111
project_name=Netherite Plus Mod

0 commit comments

Comments
 (0)