为自托管者引入预编译的 JS 资源

不,标签 v3.6.0.beta1(提交 d63a243

1 个赞

太棒了,谢谢!

我想这应该能解决问题:

合并后,我会尝试手动触发 d63a243 的工作流。

2 个赞

所以,我确实是朝着 beta 标签的目标前进的,但当时并不知道。

谢谢!!!

1 个赞

已发布的资产按提交哈希索引。所以,是的,现在 v3.6.0.beta1 标签附加到与 beta 相同的提交,也附加到 latest-release。此修复程序应能处理所有这些 :ok_hand:

1 个赞

d63a2431 的资源现已上线:Release v3.6.0.beta1-d63a2431 · discourse/discourse-assets · GitHub

2 个赞

我又遇到了同样的问题 :sob:
也许我定位的提交(commit)不对?

Fetching and extracting https://get.discourse.org/discourse-assets/2025.11.0-75d61b40/production.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     25      0 --:--:-- --:--:-- --:--:--    25
curl: (22) The requested URL returned error: 404
[assemble_ember_build] Failed to download prebuilt assets: Command failed with exit 22: curl
3 个赞

您正在定位哪个标签?

v2025.11.0 或提交 75d61b40ee928a4620b16f5438ca886678fab00d

discourse@testbeta:/var/www/discourse$ git checkout v2025.11.0
HEAD is now at 75d61b40ee DEV: Bump version on `release/2025.11` to `v2025.11.0` (#36251)
discourse@testbeta:/var/www/discourse$ RAILS_ENV=production bundle exec rake assets:precompile
[assemble_ember_build] Existing build is not reusable.
- Existing: {"ember_env"=>"production", "core_tree_hash"=>"deca4dcdbe7b705aac0d05212bbbe4b1b949d003"}
- Current: {"ember_env"=>"production", "core_tree_hash"=>"063db9253029db5919e776f30e6b3dada4d38958"}
Fetching and extracting https://get.discourse.org/discourse-assets/2025.11.0-75d61b40/production.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     23      0 --:--:-- --:--:-- --:--:--    23
curl: (22) The requested URL returned error: 404
[assemble_ember_build] Failed to download prebuilt assets: Command failed with exit 22: curl
[assemble_ember_build] Running full core build...
1 个赞

好的,我来看看是否能为该标签发布资源。但我建议您使用 release/2025.11 分支,这样即使我们还没有提高补丁版本,您也能获得任何小的补丁。(例如这个

这样与现有的 stable 分支部署策略的相似度最高。

2 个赞

v2025.11.0 的资源已发布,脚本也已更新以确保将来自动执行此操作。

2 个赞