Add action to download the source code `tar.gz` of a GitHub release

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

未指定文件、测试或入口点。首先跟踪当前检出 Git 源代码的发布自动化流程,然后确定负责获取发布内容的 action。完成的标准是:该 action 可以使用 GitHub 发布版本的 tar.gz 快照,而不是完整检出仓库,同时保留字符串生成所需的源代码。

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

描述

Since moving to XCFramework as the integration method for Gutenberg for Mobile Apps, we have been downloading the source code via Git in order to generate strings, see https://github.com/wordpress-mobile/WordPress-iOS/pull/21416.

Needless to say, checking out the whole repo take a long time, even with --depth 1, which is one of the reasons we moved to XCFramework in the first place.

As we work to hand over release management to the devs, see https://github.com/Automattic/apps-infra-plans/issues/5, it would be good to take the time to remove this bottleneck.

One idea I have is to download the source code from the GitHub release (assuming a release is used, which is in most of the integration cases). After all, what we don't need Git history, only a snapshot of the code.

For reference, the archive for version 1.109.2 is around 20 MB

image
主要语言
Ruby
星标
32
派生
7
平均合并
1 天 15 小时
30 天内合并 PR
9

环境准备

从这里开始

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

wordpress-mobile/release-toolkit 的其他 Issue

查看 wordpress-mobile/release-toolkit 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

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