mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-05 23:18:56 +08:00
chore(release): 准备 4.0.0
- 部署文档、升级指南与 README 改为正式版说法:latest = 4.0,3.3 固定为 3.3.7 - docs/changelog/4.0.md 新增 4.0.0 汇总(升级前必读、破坏性变更、新功能、主要修复),链接改为绝对地址 - 文档站与插件市场改为从 main 发布,插件上架 PR 的目标分支改为 main - 文档站页脚版本 v4.0.0;en/ja README 的 star history 地址
This commit is contained in:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -2,9 +2,9 @@ name: Deploy Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
# 只从 4.0-dev 部署:main 与 3.3-dev 仍是 3.3 文档,多分支部署会互相覆盖。4.0 正式版后改为 main。
|
||||
# 只从 main 部署:文档与已发布的版本一致,多分支部署会互相覆盖。
|
||||
branches:
|
||||
- 4.0-dev
|
||||
- main
|
||||
paths:
|
||||
- "docs/**"
|
||||
- ".github/workflows/docs.yml"
|
||||
|
||||
8
.github/workflows/plugin-registry.yml
vendored
8
.github/workflows/plugin-registry.yml
vendored
@@ -9,10 +9,10 @@ name: Plugin Registry
|
||||
# 并校验 sha256,核对每个新 zip 的 id 与来源,再签名发布。
|
||||
on:
|
||||
pull_request:
|
||||
branches: ["4.0-dev"]
|
||||
branches: ["main"]
|
||||
paths: ["plugins/**"]
|
||||
push:
|
||||
branches: ["4.0-dev"]
|
||||
branches: ["main"]
|
||||
paths: ["plugins/**"]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
@@ -84,8 +84,8 @@ jobs:
|
||||
--catalog old/catalog.json --out dist | tee -a "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
plan:
|
||||
# 带着签名密钥的发布只从 4.0-dev 运行
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/4.0-dev'
|
||||
# 带着签名密钥的发布只从 main 运行
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
build: ${{ steps.plan.outputs.build }}
|
||||
|
||||
Reference in New Issue
Block a user