python / python/release-tools

Allow running `build-release.yml` against a branch

未关闭
#285 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Python
星标
61
派生
48
平均合并
1 小时 22 分钟
30 天内合并 PR
4

描述

Currently, .github/workflows/build-release.yml takes a tag number:

https://github.com/python/release-tools/blob/9721c249ff1de736fcf180c4a806ce75372ebf2a/.github/workflows/build-release.yml#L35-L37

Which can be used as the input when triggering a run:

https://github.com/python/release-tools/actions/workflows/build-release.yml

Image

It would be useful if we could also give a branch name, so for example we can trigger a run against upstream main or 3.14, so we can verify the latest state will build.

This will also help with PRs like https://github.com/python/release-tools/pull/284 where we specify which arguments to run against the Android test runner, and the test runner is in the upstream repo.

We'll need to take care of v prefix that is currently prepended in some places.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 .github/workflows/build-release.yml 中第 35-37 行附近的输入定义开始,然后追踪该值的使用位置。支持分支名称和标签编号,同时保留现有的 v 前缀行为,并验证 workflow 是否既能基于 upstream main 或 3.14 构建,也能使用现有的标签输入。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd, release
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。