Skip to content

Commit

Permalink
release: v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jul 17, 2024
1 parent 013f55d commit ceabed8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 40 deletions.
7 changes: 7 additions & 0 deletions .changelog/v0.0.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
> 对应核心版本: [**v4.1.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.1.0)

我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-telegram/issues)[协助](https://github.com/simple-robot/simbot-component-telegram/pulls)
感谢您的贡献与支持!

也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tasks.create("createChangelog") {
appendLine(
"""
> [!warning]
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
> **目前版本处于早期阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
""".trimIndent()
Expand All @@ -64,42 +64,3 @@ tasks.create("createChangelog") {
}
}
}

tasks.create("updateWebsiteVersionJson") {
group = "documentation"
doFirst {
val version = P.ComponentTelegram.version.toString()

val websiteVersionJsonDir = rootProject.file("website/static")
if (!websiteVersionJsonDir.exists()) {
websiteVersionJsonDir.mkdirs()
}
val websiteVersionJsonFile = File(websiteVersionJsonDir, "version.json")
if (!websiteVersionJsonFile.exists()) {
websiteVersionJsonFile.createNewFile()
}

websiteVersionJsonFile.writeText(
"""
{
"version": "$version"
}
""".trimIndent()
)
}
}


fun repoRow(moduleName: String, group: String, id: String, version: String): String {
return "| $moduleName | [$moduleName: v$version](https://repo1.maven.org/maven2/${
group.replace(
".",
"/"
)
}/${
id.replace(
".",
"/"
)
}/$version) | [$moduleName: v$version](https://search.maven.org/artifact/$group/$id/$version/jar) |"
}

0 comments on commit ceabed8

Please sign in to comment.