From 3cc55145afc92818efa58ebd8c5fb2547475ce78 Mon Sep 17 00:00:00 2001 From: Tron Date: Sat, 12 Oct 2024 12:13:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20v2.2.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - CHANGELOG.md | 1 + README_zh_CN.md | 12 ++++++++++-- release.sh | 30 ++++++++++++++++++++++++++++++ theme.json | 2 +- 5 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 release.sh diff --git a/.gitignore b/.gitignore index 2481f86..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -release.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 156a1de..c03bd4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## v2.2.9 / 2024.10.12 - 💄 消息已读按钮取消背景色 +- 💄 更改blockquote样式 ## v2.2.8 /2024.10.10 - 🐛 黑暗模式下看板视图的文字对比度问题 diff --git a/README_zh_CN.md b/README_zh_CN.md index c2a4cf8..37dd712 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -33,8 +33,14 @@ ## 🚀最近更新 -V2.2.6 / 2024.09.12 -- 🐛 Dark主题无法修改加粗文字 +v2.2.9 / 2024.10.12 +- 💄 消息已读按钮取消背景色 +- 💄 更改blockquote样式 + +v2.2.8 /2024.10.10 +- 🐛 黑暗模式下看板视图的文字对比度问题 +- 💄light 主题的红色调深 + v2.2.5 / 2024.09.11 - 💄 适配思源笔记v3.1.6 代码块样式 @@ -415,7 +421,9 @@ border-bottom: none; 若主题存在样式的问题,欢迎在[Github](https://github.com/Achuan-2/siyuan-themes-tsundoku)提issue或是通过邮箱联系我(achuan-2@outlook.com)。在提issue之前建议先切换为默认主题,确定是本主题特有的问题。 +## 用爱发电 +如果觉得主题好用,欢迎点个star或者给我买包辣条🙏
diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..ebde739 --- /dev/null +++ b/release.sh @@ -0,0 +1,30 @@ +# Change directory to the script's directory +cd "$(dirname $0)" + +# Get version from theme.json +version=v$(grep -oP '(?<="version": ")[^"]+' theme.json) + +# Commit changes +git add . +git commit -m "🔖 $version" +git push + +# 判断 tag 是否存在 +if git rev-parse --quiet --verify $version >/dev/null; then + # 删除本地仓库中的 tag + git tag -d $version + # 删除远程仓库中的 tag + git push origin ":refs/tags/$version" + +fi + +# 创建新的 tag +git tag $version # Create a tag + +# 推送新的 tag 到远程仓库 +git push origin --tags +# git archive --format zip --output ../package-$version.zip HEAD # Create a zip archive + + + + diff --git a/theme.json b/theme.json index 9917620..6ccf1b7 100644 --- a/theme.json +++ b/theme.json @@ -2,7 +2,7 @@ "name": "Tsundoku", "author": "Achuan-2", "url": "https://github.com/Achuan-2/siyuan-themes-tsundoku", - "version": "2.2.8", + "version": "2.2.9", "displayName": { "default": "Tsundoku", "zh_CN": "積読"