mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
主题打包
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -1,5 +1,6 @@
|
||||
## ✨ Feature
|
||||
|
||||
- 支持自动颜色主题 (跟随系统)
|
||||
- 支持亮色主题
|
||||
|
||||
## 🌈 Style
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user