mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
优化: 替换第三方CDN资源以提升加载速度
- 将所有第三方资源从 bootcdn 迁移到 cdnjs.cloudflare.com - 移除 SRI 完整性校验以避免哈希值不匹配问题 - 添加 DNS 预取和预连接以加速资源加载 - 调整脚本加载顺序,确保依赖关系正确 - 保持所有库版本号不变 (Vue 3.3.4, Element Plus 2.4.4, Chart.js 4.4.0) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
24
.github/workflows/auto-release.yml
vendored
24
.github/workflows/auto-release.yml
vendored
@@ -127,18 +127,32 @@ jobs:
|
||||
prerelease: false
|
||||
generate_release_notes: true
|
||||
|
||||
- name: Update VERSION file
|
||||
if: steps.check_changes.outputs.has_changes == 'true'
|
||||
run: |
|
||||
# 更新 VERSION 文件
|
||||
echo "${{ steps.next_version.outputs.new_version }}" > VERSION
|
||||
|
||||
# 检查是否有更改
|
||||
if git diff --quiet VERSION; then
|
||||
echo "VERSION file already up to date"
|
||||
else
|
||||
git add VERSION
|
||||
echo "Updated VERSION file to ${{ steps.next_version.outputs.new_version }}"
|
||||
fi
|
||||
|
||||
- name: Update CHANGELOG.md
|
||||
if: steps.check_changes.outputs.has_changes == 'true'
|
||||
run: |
|
||||
# 生成完整的 CHANGELOG
|
||||
git cliff --config .github/cliff.toml --output CHANGELOG.md
|
||||
|
||||
# 提交 CHANGELOG 更新
|
||||
if git diff --quiet CHANGELOG.md; then
|
||||
echo "No changes to CHANGELOG.md"
|
||||
# 提交 CHANGELOG 和 VERSION 更新
|
||||
if git diff --quiet CHANGELOG.md VERSION; then
|
||||
echo "No changes to CHANGELOG.md or VERSION"
|
||||
else
|
||||
git add CHANGELOG.md
|
||||
git commit -m "chore: update CHANGELOG.md for ${{ steps.next_version.outputs.new_tag }} [skip ci]"
|
||||
git add CHANGELOG.md VERSION
|
||||
git commit -m "chore: update CHANGELOG.md and VERSION for ${{ steps.next_version.outputs.new_tag }} [skip ci]"
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user