Skip to content

Commit dc484ed

Browse files
committed
build: add changelog generator
1 parent 3e7ff36 commit dc484ed

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
plugins {
44
id("fabric-loom")
55
kotlin("jvm").version(System.getProperty("kotlinVersion"))
6+
id("com.geoffgranum.gradle-conventional-changelog") version "0.3.1"
67
}
78

89
base {
@@ -63,4 +64,12 @@ tasks {
6364
targetCompatibility = javaVersion
6465
withSourcesJar()
6566
}
67+
68+
changelog {
69+
appName = project.name
70+
versionNum = "${project.version}"
71+
from = "fabric-${project.property("prevVersion")}"
72+
repoUrl = "https://github.com/Samarium150/StructuresCompass"
73+
trackerUrl = "https://github.com/Samarium150/StructuresCompass/issues"
74+
}
6675
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ loaderVersion=0.13.3
99
fabricVersion=0.48.0+1.18.2
1010
loomVersion=0.11-SNAPSHOT
1111
# Mod Properties
12+
prevVersion=1.18.2-1.4.0
1213
modVersion=1.18.2-1.4.1
1314
mavenGroup=io.github.samarium150
1415
archivesBaseName=structures_compass-fabric

0 commit comments

Comments
 (0)