Skip to content

Commit

Permalink
🔖 v2.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Oct 12, 2024
1 parent 5aca0d3 commit 3cc5514
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
release.sh
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## v2.2.9 / 2024.10.12
- 💄 消息已读按钮取消背景色
- 💄 更改blockquote样式

## v2.2.8 /2024.10.10
- 🐛 黑暗模式下看板视图的文字对比度问题
Expand Down
12 changes: 10 additions & 2 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 代码块样式
Expand Down Expand Up @@ -415,7 +421,9 @@ border-bottom: none;

若主题存在样式的问题,欢迎在[Github](https://github.com/Achuan-2/siyuan-themes-tsundoku)提issue或是通过邮箱联系我([email protected])。在提issue之前建议先切换为默认主题,确定是本主题特有的问题。

## 用爱发电

如果觉得主题好用,欢迎点个star或者给我买包辣条🙏
<div align="center">
<img src="donate.webp" width="250" />
</div>
Expand Down
30 changes: 30 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -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




2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "積読"
Expand Down

0 comments on commit 3cc5514

Please sign in to comment.