Skip to content

Commit

Permalink
update snapshot structure
Browse files Browse the repository at this point in the history
  • Loading branch information
btwonion committed Nov 11, 2022
1 parent 1ae3e6b commit d7101be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ plugins {
}

group = "dev.nyon"
version = "1.1.3"
val majorVersion = "1.1.3"
version = "$majorVersion-22w44a"
val authors = listOf("btwonion")
val githubRepo = "btwonion/telekinesis"

Expand Down Expand Up @@ -77,7 +78,7 @@ tasks {
}
}
val changelogText =
file("changelogs/$version.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."
file("changelogs/$majorVersion.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."

modrinth {
token.set(findProperty("modrinth.token")?.toString())
Expand All @@ -104,5 +105,5 @@ githubRelease {
tagName("v${project.version}")
body(changelogText)
releaseAssets(tasks["remapJar"].outputs.files)
targetCommitish("master")
targetCommitish("snapshot")
}
3 changes: 2 additions & 1 deletion changelogs/1.1.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
- improve telekinesis checking
- add shearing support
- add minecart and boat support
- update kotlin, fabric-api, fabric-language-kotlin
- update kotlin, fabric-api, fabric-language-kotlin
- add config

0 comments on commit d7101be

Please sign in to comment.