Compare commits

..
2 Commits
9 changed files with 66 additions and 229 deletions

No files matched your search

@@ -20,7 +20,7 @@
调用入口前重新核对当前脚本的副作用、目标版本和待推送提交,保留无关工作区内容,不自动清理或暂存用户文件。
先编辑 `release/notes.md`,保留为未提交改动(已暂存或未暂存均可);其他已跟踪文件的改动应先单独提交。
脚本更新 `release/version.yaml` 的顶层 `version`,按[接口弃用规则](../../../../backend/crates/gateway-plugin/sdk/docs/manifest.md#接口弃用)校验并维护 `plugin-api-deprecations.json`,生成发布说明的自动区块,将这些差异与手写正文一起提交为 `chore: bump version to <version>`。
脚本更新 `release/version.yaml` 的顶层 `version`,按[接口弃用规则](../../../../backend/crates/gateway-plugin/sdk/docs/manifest.md#接口弃用)校验并维护 `plugin-api-deprecations.json`,与手写发布说明一起提交为 `chore: bump version to <version>`。
不要提前单独提交说明或把版本文件改成目标版本;脚本要求说明相对 HEAD 有改动,并自行更新版本号。
本任务需要的提交按[项目约定](../../../../CONTRIBUTING.md#项目约定)保留英文 Conventional Commits 与相应署名。
@@ -31,7 +31,7 @@ release/publish "$release_version"
```
该命令会创建上述版本提交与 annotated tag,原子推送分支和 tag,再从长期分支手动触发 `release.yml`。
只读预检使用 `release/publish --check "$release_version"`。发布工作流读取 tag 中已经生成的完整说明,不再查询 PR 或附加另一份自动日志;修改 tag 之后的本地文件不会改变该次构建。
只读预检使用 `release/publish --check "$release_version"`。发布工作流读取 tag 中的手写说明,为常规版本追加安装入口、文档和 GitHub 变更列表。
只调整已发布页面的标题或正文时,编辑对应 GitHub Release 的 `name` 或 `body` 并回读核对;
保持已有 tag、源码提交、附件和预发行状态,不重新执行发布入口。
@@ -60,7 +60,7 @@ release/publish "$release_version"
### 验收
- 发布完成后核对 GitHub Release 的版本、正式版/预发行状态和中文变更正文;对照平台清单与工作流确认归档、校验和及镜像产物。
正文应与 tag 内的说明一致,正式版的 `Full Changelog` 从上一正式版开始,PR 和直接提交覆盖本次范围;自动列表不替代手写的中文变更说明
手写正文应与 tag 内的说明一致,核对安装入口和 `Full Changelog` 指向目标版本,正式版的比较范围从上一正式版开始
- 核对 `backend-validation` 的结果。复用时检查摘要中的源码提交和成功 CI 链接,确认发行提交仅修改版本与说明;未满足复用条件时检查本次完整后端任务,不能把 `quality / backend` 的跳过单独记为测试通过
- 回读 `main:release/version.yaml` 的 `published`。正式版参与同一大版本四个普通通道的比较;RC 参与 RC、Beta、Alpha,Beta 参与 Beta、Alpha,Alpha 只参与自身。实验版只推进 `exp["X.Y.Z"]`。有通道推进时应有 `chore(release): update release channels to <version>` 提交;重复执行或较旧版本未推进任何通道时无提交
- 正式版提升或恢复后,回读 GitHub Latest 的 tag 与镜像 `latest` 的摘要,核对两者均指向预期正式版
@@ -22,8 +22,7 @@
- 只在发布说明任务中修改 `release/notes.md`,替换为本次版本内容,首行为目标 tag,正文使用中文
- 常规版本的手写正文按「新增功能」「优化改进」「问题修复」「升级须知」归类,省略空章节;单一改动可直接写一句
- `release/publish` 生成安装入口、文档链接和变更列表,保存到说明末尾的 `cpr-release:generated` 标记区块;重新准备说明时整块保留或移除,不在区块中手写内容
- 自动列表按实际提交中的 PR 编号补齐 GitHub 遗漏的合并记录,并列出直接提交;仍需对照完整 diff 核实中文正文,剔除回退或重复的用户影响
- 常规版本的安装入口、文档链接和 GitHub 变更列表由工作流在发版时追加
- 每条用一句短语讲清一个用户可感知的结果,不加句号,例如「系统更新:确认当前平台有安装包后才提示升级」
- 同一变化只写一次,保留会影响使用或升级的默认值和限制,不展开实现过程、逐条翻译提交或写未经验证的承诺
- 剔除回退、重复及未进入发行范围的内容,升级事项须能追溯到实际迁移、配置或兼容变化
@@ -40,8 +39,7 @@
在上一发行基线到 HEAD 的提交中检查是否已有目标版本的备版提交(`chore: bump version to <version>`;查历史时也匹配 `chore(release): prepare v<version>` 和 `chore(release): v<version>`),即使同名 tag 已不存在也要查。命中时先核对该提交对应的发行状态,按[失败恢复](operations.md#恢复与验收)处理,不在旧提交上再叠一个同名提交
发布说明准备好、其他代码已提交后,执行 `release/publish --check <version>`,检查版本、说明、工作区、远端分支与 tag、工具链和插件兼容窗口。
预检输出基线、目标提交和完整正文,核对 `Full Changelog` 范围、PR 列表及直接提交;正式执行也使用相同生成入口,将最终正文随版本提交保存
预检不修改文件、Git 引用或远端状态;远端存在本地未知提交或缺少已发布的基线 tag 时,先同步再检查。它不替代 CI、发行物验证或实际发布授权
预检不修改文件、Git 引用或远端状态;远端存在本地未知提交时,先同步再检查。它不替代 CI、发行物验证或实际发布授权
按[验证要求](../../../../CONTRIBUTING.md#验证)核对目标提交的证据,区分通过、失败、跳过与未执行
数据库变更同时读取[迁移冻结规则](../../../../backend/migrations/README.md#冻结规则):
+25
View File
@@ -91,6 +91,30 @@ module ReleaseMetadata
"#{APP_NAME}_#{version}_#{platform.fetch('os')}_#{platform.fetch('arch')}.#{platform.fetch('archive')}"
end
# 正式版始终对比上一正式版,常规预发行优先对比同一目标版本的上一预发行
def self.previous_tag(value)
return if value.include?('-exp.')
endpoint = "repos/#{ENV.fetch('GITHUB_REPOSITORY')}/releases?per_page=100"
output, status = Open3.capture2('gh', 'api', '--paginate', endpoint, '--jq',
'.[] | select(.draft == false) | [.tag_name, .prerelease] | @tsv')
raise 'Failed to read published releases' unless status.success?
reachable = git('tag', '--list', 'v*', '--merged', 'HEAD').lines.map(&:strip)
candidates = output.each_line.each_with_object([]) do |line, tags|
tag, prerelease = line.chomp.split("\t")
next unless reachable.include?(tag) && tag.delete_prefix('v').match?(SEMVER) && !tag.include?('+')
next unless prerelease?(tag) == (prerelease == 'true') && sort_key(tag) < sort_key(value)
tags << tag
end
if prerelease?(value)
prefix = "v#{value.split('-', 2).first}-"
previous = candidates.select { |tag| tag.start_with?(prefix) && !tag.include?('-exp.') }.max_by { |tag| sort_key(tag) }
return previous if previous
end
candidates.reject { |tag| prerelease?(tag) }.max_by { |tag| sort_key(tag) }
end
def self.outputs(tag)
value = release_version(YAML.load_file('release/version.yaml').fetch('version'))
raise "Release tag #{tag} does not match v#{value}" unless tag == "v#{value}"
@@ -107,6 +131,7 @@ module ReleaseMetadata
'non_docker_matrix' => JSON.generate('include' => native),
'windows_matrix' => JSON.generate('include' => entries.select { |entry| entry['os'] == 'windows' }),
'docker_platforms' => docker.map { |entry| entry['dockerPlatform'] }.join(','),
'previous_tag' => previous_tag(value),
'prerelease' => prerelease?(value),
'build_type' => value.split('+', 2).first.include?('-exp.') ? 'experimental' : 'release'
}
-179
View File
@@ -1,179 +0,0 @@
require_relative 'release-metadata'
# 预检与发布共用日志范围;生成结果随版本提交保存,构建时不再查询可变的 PR 信息
module ReleaseNotes
START = '<!-- cpr-release:generated -->'
FINISH = '<!-- /cpr-release:generated -->'
def self.manual_body(document)
body = document.lines.drop(1).join.strip
return body unless body.include?(START) || body.include?(FINISH)
unless body.scan(START).length == 1 && body.scan(FINISH).length == 1 && body.end_with?(FINISH) &&
body.index(START) < body.index(FINISH)
raise 'Invalid generated release notes block; keep the complete block at the end or remove it'
end
body.split(START, 2).first.rstrip
end
def self.body(value)
ReleaseMetadata.validate_notes(value)
document = File.read('release/notes.md')
manual_body(document)
unless value.include?('-exp.') || document.include?(START)
raise 'Release notes are not prepared; use release/publish to generate and commit the final body'
end
document.lines.drop(1).join.strip + "\n"
end
# 只选已公开且属于目标历史的发行;首次实验版可以以同号正式版为基线
def self.previous_tag(value, releases, reachable)
core, stage = value.split('-', 2)
candidates = releases.select do |release|
tag = release.fetch('tag_name')
raw = tag.delete_prefix('v')
tag == "v#{raw}" && raw.match?(ReleaseMetadata::SEMVER) && !raw.include?('+') &&
!release.fetch('draft') && release.fetch('prerelease') == ReleaseMetadata.prerelease?(raw) &&
reachable.include?(tag)
end.map { |release| release.fetch('tag_name') }
lower = candidates.select { |tag| ReleaseMetadata.sort_key(tag) < ReleaseMetadata.sort_key(value) }
if stage
same_line = lower.select do |tag|
previous_core, previous_stage = tag.delete_prefix('v').split('-', 2)
previous_core == core && previous_stage &&
previous_stage.start_with?('exp.') == stage.start_with?('exp.')
end
return same_line.max_by { |tag| ReleaseMetadata.sort_key(tag) } unless same_line.empty?
return candidates.find { |tag| tag == "v#{core}" } if stage.start_with?('exp.')
end
lower.reject { |tag| ReleaseMetadata.prerelease?(tag) }.max_by { |tag| ReleaseMetadata.sort_key(tag) }
end
class Generator
def initialize(repository)
raise 'Invalid GitHub repository' unless repository.match?(%r{\A[\w.-]+/[\w.-]+\z})
@repository = repository
@endpoint = "repos/#{repository}"
@url = "https://github.com/#{repository}"
end
def api(path, data: nil, paginate: false)
args = ['gh', 'api', "#{@endpoint}/#{path}"]
args.concat(['--method', 'POST', '--input', '-']) if data
args.concat(['--paginate', '--jq', '.[] | @json']) if paginate
output, error, status = Open3.capture3(*args, stdin_data: data ? JSON.generate(data) : '')
raise "Cannot read release information: #{error.strip}" unless status.success?
paginate ? output.lines.map { |line| JSON.parse(line) } : JSON.parse(output)
end
def commits(base, head)
range = base ? "#{base}..#{head}" : head
ReleaseMetadata.git('log', '--first-parent', '--reverse', '--format=%H %s', range, '--').lines.map do |line|
sha, subject = line.strip.split(' ', 2)
[sha, subject]
end.reject do |sha, _|
paths = ReleaseMetadata.git('diff-tree', '--root', '--no-commit-id', '--name-only', '-r', sha).lines.map(&:strip)
!paths.empty? && (paths - %w[release/version.yaml release/notes.md]).empty?
end
end
def markdown(text)
text.gsub(/[\\`*_\[\]<>]/) { |character| "\\#{character}" }
end
def changelog(base, head, value, github_head)
# 没有前序发行时从仓库起点列举,不让 GitHub 自动猜测另一条发行线
# 未推送的提交由本地历史补齐,避免要求预检先写远端
github_range = base && ReleaseMetadata.git('merge-base', base, github_head) == ReleaseMetadata.git('rev-parse', "#{base}^{commit}")
generated = if github_range
api('releases/generate-notes', data: {
tag_name: "v#{value}", target_commitish: github_head, previous_tag_name: base
}).fetch('body').gsub("\r\n", "\n").strip
else
''
end
listed = generated.scan(%r{#{Regexp.escape(@url)}/pull/(\d+)\b}).flatten.map(&:to_i).uniq
missing = []
direct = []
commits(base, head).each do |sha, subject|
# 只识别合并提交格式,不把正文中的 Issue 引用猜成 PR
number = subject[/\(#(\d+)\)\z/, 1] || subject[/\AMerge pull request #(\d+)\b/, 1]
unless number
direct << "* #{markdown(subject)} ([#{sha[0, 9]}](#{@url}/commit/#{sha}))"
next
end
number = number.to_i
next if listed.include?(number)
pull = api("pulls/#{number}")
raise "Referenced PR ##{number} is not merged" unless pull.fetch('merged')
missing << "* #{markdown(pull.fetch('title'))} by @#{pull.fetch('user').fetch('login')} in #{@url}/pull/#{number}"
listed << number
end
unless missing.empty?
heading = "## What's Changed"
generated = if generated.include?(heading)
generated.sub(heading, "#{heading}\n#{missing.join("\n")}")
else
["#{heading}\n#{missing.join("\n")}", generated].reject(&:empty?).join("\n\n")
end
end
# 直接提交也有明确链接,不能把 PR 列表当成完整变更范围
generated += "\n\n## 其他提交\n#{direct.join("\n")}" unless direct.empty?
link = base ? "#{@url}/compare/#{base}...v#{value}" : "#{@url}/commits/#{head}"
generated += "\n\n**Full Changelog**: #{link}" unless generated.include?(link)
warn "日志范围:#{base || '仓库起点'} → #{head};#{listed.length} 个 PR,#{direct.length} 个直接提交"
warn "已补齐自动列表遗漏:#{missing.join("\n")}" unless missing.empty?
generated.strip
end
def prepare(value, head: 'HEAD', github_head: head)
value = ReleaseMetadata.release_version(value)
ReleaseMetadata.validate_notes(value)
head = ReleaseMetadata.git('rev-parse', '--verify', "#{head}^{commit}")
github_head = ReleaseMetadata.git('rev-parse', '--verify', "#{github_head}^{commit}")
unless ReleaseMetadata.git('merge-base', head, github_head) == github_head
raise 'GitHub source commit must be an ancestor of the release source'
end
reachable = ReleaseMetadata.git('tag', '--list', 'v*', '--merged', head).lines.map(&:strip)
releases = api('releases?per_page=100', paginate: true)
unknown = releases.map { |release| release.fetch('tag_name') } - ReleaseMetadata.git('tag', '--list', 'v*').lines.map(&:strip)
base = ReleaseNotes.previous_tag(value, releases, reachable + unknown)
raise "Published baseline tag #{base} is missing locally; fetch remote tags before preparing notes" if unknown.include?(base)
manual = ReleaseNotes.manual_body(File.read('release/notes.md'))
raise 'Release notes must contain a handwritten description' if manual.empty?
warn "发布基线:#{base || '仓库起点'};目标:v#{value};源码:#{head}"
return "# v#{value}\n\n#{manual}\n" if value.include?('-exp.')
installation = <<~MARKDOWN.strip
## Linux 一键安装(Docker Compose)
```bash
curl -fsSLO #{@url.sub('github.com', 'raw.githubusercontent.com')}/v#{value}/deploy/install.sh && CPR_RELEASE_TAG=v#{value} bash install.sh
```
## 📚 文档
- [GitHub 仓库](#{@url})
- [部署指南](#{@url}/blob/v#{value}/deploy/README.md)
MARKDOWN
"# v#{value}\n\n#{manual}\n\n#{START}\n#{installation}\n\n#{changelog(base, head, value, github_head)}\n#{FINISH}\n"
end
end
end
if $PROGRAM_NAME == __FILE__
begin
command, value, repository, github_head = ARGV
case command
when 'prepare'
raise 'prepare requires VERSION REPOSITORY GITHUB_HEAD' unless ARGV.length == 4
puts ReleaseNotes::Generator.new(repository).prepare(value, github_head: github_head)
when 'body'
raise 'body requires VERSION' unless ARGV.length == 2
puts ReleaseNotes.body(value)
else
raise 'usage: release-notes.rb prepare VERSION REPOSITORY GITHUB_HEAD | body VERSION'
end
rescue StandardError => error
warn "error: #{error.message}"
exit 1
end
end
+30 -8
View File
@@ -45,6 +45,7 @@ jobs:
non_docker_matrix: ${{ steps.version.outputs.non_docker_matrix }}
windows_matrix: ${{ steps.version.outputs.windows_matrix }}
docker_platforms: ${{ steps.version.outputs.docker_platforms }}
previous_tag: ${{ steps.version.outputs.previous_tag }}
prerelease: ${{ steps.version.outputs.prerelease }}
build_type: ${{ steps.version.outputs.build_type }}
rust: ${{ steps.toolchains.outputs.rust }}
@@ -69,6 +70,7 @@ jobs:
- name: Read release metadata and seal plugin manifest
id: version
env:
GH_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ inputs.tag }}
run: ruby .github/scripts/release-metadata.rb outputs "$RELEASE_TAG" >> "$GITHUB_OUTPUT"
@@ -76,11 +78,6 @@ jobs:
id: toolchains
run: ruby .github/scripts/toolchains.rb >> "$GITHUB_OUTPUT"
- name: Verify committed release notes
env:
VERSION: ${{ steps.version.outputs.version }}
run: ruby .github/scripts/release-notes.rb body "$VERSION" >> "$GITHUB_STEP_SUMMARY"
- name: Check reusable backend CI evidence
id: quality
env:
@@ -553,8 +550,32 @@ jobs:
- name: Prepare release notes
shell: bash
env:
VERSION: ${{ needs.release-info.outputs.version }}
run: ruby .github/scripts/release-notes.rb body "$VERSION" > "$RUNNER_TEMP/release-notes.md"
PREVIOUS_TAG: ${{ needs.release-info.outputs.previous_tag }}
RELEASE_TAG: ${{ needs.release-info.outputs.tag }}
BUILD_TYPE: ${{ needs.release-info.outputs.build_type }}
INSTALLATION_NOTES: |
## Linux 一键安装(Docker Compose)
```bash
curl -fsSLO https://raw.githubusercontent.com/${{ github.repository }}/${{ needs.release-info.outputs.tag }}/deploy/install.sh && CPR_RELEASE_TAG=${{ needs.release-info.outputs.tag }} bash install.sh
```
## 📚 文档
- [GitHub 仓库](https://github.com/${{ github.repository }})
- [部署指南](https://github.com/${{ github.repository }}/blob/${{ needs.release-info.outputs.tag }}/deploy/README.md)
run: |
ruby <<'RUBY'
notes = File.readlines('release/notes.md').drop(1).join.strip
unless ENV.fetch('BUILD_TYPE') == 'experimental'
notes += "\n\n#{ENV.fetch('INSTALLATION_NOTES').strip}"
if ENV.fetch('PREVIOUS_TAG').empty?
notes += "\n\n**Full Changelog**: https://github.com/#{ENV.fetch('GITHUB_REPOSITORY')}/commits/#{ENV.fetch('RELEASE_TAG')}"
end
end
output = File.join(ENV.fetch('RUNNER_TEMP'), 'release-notes.md')
File.write(output, "#{notes}\n")
RUBY
- name: Generate release asset provenance
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
@@ -566,7 +587,8 @@ jobs:
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
tag_name: ${{ needs.release-info.outputs.tag }}
generate_release_notes: false
generate_release_notes: ${{ needs.release-info.outputs.build_type != 'experimental' && needs.release-info.outputs.previous_tag != '' }}
previous_tag: ${{ needs.release-info.outputs.previous_tag }}
prerelease: ${{ needs.release-info.outputs.prerelease == 'true' }}
# action 保留已公开 Release 的状态,新 Release 上传完成后仍保持草稿
draft: true
+1 -1
View File
@@ -122,7 +122,7 @@ PR 不接受以下协作规则文件的新增、修改、删除或重命名:
- 业务数据的解析、校验和展示优先复用已有逻辑。新增抽象放在拥有该职责的模块,避免重复事实源或无实际需求的通用层
- 新增代码注释使用中文。提交信息使用英文 Conventional Commits,参考近期历史,按完整功能归并
- AI 参与的提交按实际助手添加 `Co-authored-by: 名称 <邮箱>`,名称与邮箱采用该助手已知的署名身份,并保留其他实际共同作者署名;PR 的 AI 使用披露不替代提交署名
- 发布说明写入 `release/notes.md`,标题首行为目标版本的 `# vX.Y.Z`,手写章节标题和正文使用中文;命令、配置键、协议名等保留原文。只说明本次版本的实际变化,按影响交代升级事项。发行入口将自动变更列表和安装入口保存到末尾的生成区块,工作流按提交中的完整正文发布,基线与预检要求见[版本与说明准备](.agents/skills/cpr-release/references/preparation.md)
- 发布说明写入 `release/notes.md`,标题首行为目标版本的 `# vX.Y.Z`,手写章节标题和正文使用中文;命令、配置键、协议名等保留原文。只说明本次版本的实际变化,按影响交代升级事项。常规版本由发布工作流追加安装入口、文档链接和 GitHub 变更列表,比较基线见[版本与说明准备](.agents/skills/cpr-release/references/preparation.md)
- PR 聚焦目标;无关格式化、重构和依赖升级单独处理
## 文档职责与更新条件
-24
View File
@@ -5,27 +5,3 @@
- OpenAI OAuth 账号的访问令牌在到期前收到模型请求 401 时,有刷新令牌的账号会先自动续期。新令牌在首次成功请求前再次被拒时,才将凭据标记为过期(#853)
- 手动和后台续期遇到并发 Cookie 写入时,可正确保存新令牌,并避免重复使用已轮换的刷新令牌
- 并发模型请求返回时,较早请求的成功响应会保留核对期间新收到的 401 和风控失败记录
<!-- cpr-release:generated -->
## Linux 一键安装(Docker Compose)
```bash
curl -fsSLO https://raw.githubusercontent.com/zyycn/codex-proxy-rs/v3.62.1-rc.1/deploy/install.sh && CPR_RELEASE_TAG=v3.62.1-rc.1 bash install.sh
```
## 📚 文档
- [GitHub 仓库](https://github.com/zyycn/codex-proxy-rs)
- [部署指南](https://github.com/zyycn/codex-proxy-rs/blob/v3.62.1-rc.1/deploy/README.md)
## What's Changed
* fix(openai): preserve OAuth recovery and token rotation by @think-back in https://github.com/zyycn/codex-proxy-rs/pull/853
**Full Changelog**: https://github.com/zyycn/codex-proxy-rs/compare/v3.62.0...v3.62.1-rc.1
## 其他提交
* fix(release): freeze complete notes and expose backend validation ([b20b0e201](https://github.com/zyycn/codex-proxy-rs/commit/b20b0e2013f1238cc1290e826ff8332e9bfbf2c7))
* fix(openai): clear only recovery feedback observed before success ([72e82c565](https://github.com/zyycn/codex-proxy-rs/commit/72e82c565e15d35e0ca7b1a39f74e4295bb292e3))
* docs(release): base stable version bumps on changes since the last stable release ([b987cca4a](https://github.com/zyycn/codex-proxy-rs/commit/b987cca4aa0fe663132fc9d082e4712a0d00d4f2))
<!-- /cpr-release:generated -->
+2 -7
View File
@@ -21,8 +21,7 @@ Example:
Before publishing, replace release/notes.md with the new version's notes,
starting with "# v<version>". Leave the notes uncommitted; this command commits
them together with release/version.yaml. Commit other tracked changes first.
Use --check to preview the complete release notes and validate without changing
files, Git refs, or remote state. Publishing commits the generated notes too.
Use --check to validate without changing files, Git refs, or remote state.
USAGE
}
@@ -132,7 +131,7 @@ if git rev-parse --quiet --verify "refs/tags/$tag" >/dev/null; then
fi
if [[ "$check_only" == false ]]; then
git fetch --tags "$remote"
git fetch "$remote"
fi
upstream="$remote/$remote_branch"
@@ -153,9 +152,6 @@ if [[ "$local_head" != "$upstream_head" && "$merge_base" != "$upstream_head" ]];
die "branch has diverged from $upstream"
fi
prepared_notes="$(ruby .github/scripts/release-notes.rb prepare "$version" "$repository" "$upstream_head")"
printf '%s\n' "$prepared_notes"
if [[ "$check_only" == true ]]; then
# 预检调用与正式更新相同的纯函数,不写回兼容窗口
ruby -r './backend/crates/gateway-plugin/runtime/plugin-api-lifecycle' -e '
@@ -169,7 +165,6 @@ fi
ruby backend/crates/gateway-plugin/runtime/plugin-api-lifecycle.rb "$PLUGIN_DEPRECATIONS_FILE" "$PLUGIN_COMPATIBILITY_FILE" "$version"
update_version_file "$version"
printf '%s\n' "$prepared_notes" > "$NOTES_FILE"
git add -- "$VERSION_FILE" "$NOTES_FILE" "$PLUGIN_DEPRECATIONS_FILE"
git commit \
+3 -3
View File
@@ -2,6 +2,6 @@ version: 3.62.1-rc.1
published:
'3':
stable: 3.62.0
rc: 3.62.0
beta: 3.62.0
alpha: 3.62.0
rc: 3.62.1-rc.1
beta: 3.62.1-rc.1
alpha: 3.62.1-rc.1