主题打包

This commit is contained in:
lutinglt
2025-08-10 16:40:25 +08:00
parent babb174b24
commit a4ae937291
3 changed files with 10 additions and 4 deletions

1
.github/release.md vendored
View File

@@ -1,5 +1,6 @@
## ✨ Feature
- 支持自动颜色主题 (跟随系统)
- 支持亮色主题
## 🌈 Style

View File

@@ -19,6 +19,8 @@ jobs:
run: |
export TZ=Asia/Shanghai
TAG="v$(npm run -s version).$(date +%y%m%d%H%M)"
gh release create "$TAG" dist/* --notes-file .github/release.md --draft -t $TAG
cd dist
tar -zcf theme-github.tar.gz --remove-files theme-github-auto.css theme-github-light.css theme-github-dark.css
gh release create "$TAG" * --notes-file .github/release.md --draft -t $TAG
env:
GH_TOKEN: ${{ github.token }}