[PR #6] [MERGED] feat: Cloudflare R2 distribution + new versioning scheme #10

Closed
opened 2026-10-26 22:22:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/pull/6
Author: @Kosinkadink
Created: 4/28/2026
Status: ✅ Merged
Merged: 4/28/2026
Merged by: @Kosinkadink

Base: main ← Head: feat/r2-distribution


📝 Commits (4)

  • bdfecc5 feat: add Cloudflare R2 distribution + new versioning scheme
  • e07c3d1 feat: auto-compute release tag from ComfyUI version + env increment
  • b54023f perf(workflow): single 7z compression + split for GitHub Releases
  • f7baaf4 refactor(workflow): export ARCHIVE_BASE once and use stat for split sanity check

📊 Changes

1 file changed (+275 additions, -10 deletions)

View changed files

📝 .github/workflows/build-standalone-env.yml (+275 -10)

📄 Description

Summary

Adds Cloudflare R2 as a distribution channel for standalone environment archives, alongside existing GitHub Releases. Introduces a new versioning scheme that embeds the ComfyUI version.

Addresses Comfy-Org/ComfyUI-Desktop-2.0-Beta#444

Changes

New versioning scheme

  • Format: v{comfyui_version}-env{build} (e.g., v0.18.2-env1)
  • Build number extracted from tag, included in manifest
  • Archive names now include release tag: comfyui-standalone-win-nvidia-v0.18.2-env1.7z

R2 upload (gated on secrets)

  • Uploads unsplit archives to R2 (no 2GB file limit)
  • Builds per-vendor releases.json (full release history) and latest.json (newest per vendor)
  • R2 key structure: standalone-environments/{vendor}/{tag}/{archive}
  • All R2 steps conditional on R2_BUCKET_NAME secret being set
  • Credentials passed via step-level env: blocks (not exported in shell)

GitHub Releases (unchanged)

  • Split archives still uploaded to GitHub Releases as before
  • manifests.json still published

Required secrets

  • R2_ENDPOINT - S3-compatible endpoint URL
  • R2_ACCESS_KEY_ID - S3 access key
  • R2_SECRET_ACCESS_KEY - S3 secret key
  • R2_BUCKET_NAME - R2 bucket name

Companion PR

  • Launcher changes: Comfy-Org/ComfyUI-Desktop-2.0-Beta (feat/r2-distribution branch)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/pull/6 **Author:** [@Kosinkadink](https://github.com/Kosinkadink) **Created:** 4/28/2026 **Status:** ✅ Merged **Merged:** 4/28/2026 **Merged by:** [@Kosinkadink](https://github.com/Kosinkadink) **Base:** `main` ← **Head:** `feat/r2-distribution` --- ### 📝 Commits (4) - [`bdfecc5`](https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/commit/bdfecc565866dbf24608c30cda1de8cc1077ac3b) feat: add Cloudflare R2 distribution + new versioning scheme - [`e07c3d1`](https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/commit/e07c3d1c018914d81eabecb728173a28e0f26738) feat: auto-compute release tag from ComfyUI version + env increment - [`b54023f`](https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/commit/b54023f4dc1c7f3018482d496dd5b795e6808d34) perf(workflow): single 7z compression + split for GitHub Releases - [`f7baaf4`](https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/commit/f7baaf4aa3192763ce746ff29e7b5745b377b625) refactor(workflow): export ARCHIVE_BASE once and use stat for split sanity check ### 📊 Changes **1 file changed** (+275 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-standalone-env.yml` (+275 -10) </details> ### 📄 Description ## Summary Adds Cloudflare R2 as a distribution channel for standalone environment archives, alongside existing GitHub Releases. Introduces a new versioning scheme that embeds the ComfyUI version. Addresses [Comfy-Org/ComfyUI-Desktop-2.0-Beta#444](https://github.com/Comfy-Org/ComfyUI-Desktop-2.0-Beta/issues/444) ## Changes ### New versioning scheme - Format: `v{comfyui_version}-env{build}` (e.g., `v0.18.2-env1`) - Build number extracted from tag, included in manifest - Archive names now include release tag: `comfyui-standalone-win-nvidia-v0.18.2-env1.7z` ### R2 upload (gated on secrets) - Uploads **unsplit** archives to R2 (no 2GB file limit) - Builds per-vendor `releases.json` (full release history) and `latest.json` (newest per vendor) - R2 key structure: `standalone-environments/{vendor}/{tag}/{archive}` - All R2 steps conditional on `R2_BUCKET_NAME` secret being set - Credentials passed via step-level `env:` blocks (not exported in shell) ### GitHub Releases (unchanged) - Split archives still uploaded to GitHub Releases as before - `manifests.json` still published ## Required secrets - `R2_ENDPOINT` - S3-compatible endpoint URL - `R2_ACCESS_KEY_ID` - S3 access key - `R2_SECRET_ACCESS_KEY` - S3 secret key - `R2_BUCKET_NAME` - R2 bucket name ## Companion PR - Launcher changes: Comfy-Org/ComfyUI-Desktop-2.0-Beta (`feat/r2-distribution` branch) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 22:22:55 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Standalone-Environments#10
No description provided.