This commit is contained in:
lutinglt
2025-08-10 17:14:55 +08:00
parent 41deab68c9
commit 3b5a596b2f

View File

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