docs: 全局修改描述,在文档中加入版本信息并在发版时自动替换 (#128)

* 暂存

* chore: 修改一些杂项
This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-07-05 22:31:26 +08:00
committed by GitHub
parent fa2bc7b5e8
commit 352282f277
5 changed files with 18 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ resolver = "2"
version = "2.0.7"
authors = ["amtoaer <amtoaer@gmail.com>"]
license = "MIT"
description = "基于 rust tokio 编写的 bilibili 收藏夹同步下载工具"
description = "由 Rust & Tokio 驱动的哔哩哔哩同步工具"
edition = "2021"
publish = false
@@ -62,9 +62,14 @@ tracing-subscriber = { version = "0.3.18", features = ["chrono"] }
[workspace.metadata.release]
release = false
tag-message = "chore: 发布 bili-sync 版本 {{version}}"
tag-message = ""
tag-prefix = ""
pre-release-commit-message = "chore: 发布 bili-sync {{version}}"
publish = false
pre-release-replacements = [
{ file = "../../docs/.vitepress/config.mts", search = "\"v[0-9\\.]+\"", replace = "\"v{{version}}\"", exactly = 1 },
{ file = "../../docs/introduction.md", search = " v[0-9\\.]+", replace = " v{{version}}", exactly = 1 },
]
[profile.release]
strip = true