Skip to content

chore: Add automated beta release workflow#6692

Merged
louislam merged 16 commits intomasterfrom
copilot/release-beta-image-workflow
Jan 13, 2026
Merged

chore: Add automated beta release workflow#6692
louislam merged 16 commits intomasterfrom
copilot/release-beta-image-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 13, 2026

Usage

Trigger manually from Actions tab:

version: 2.0.0-beta.1
previous_version: 2.0.0-beta.0
dry_run: true

Copilot AI and others added 5 commits January 13, 2026 01:13
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
… release-beta

Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Copilot AI changed the title [WIP] Create workflow for beta image release Add automated beta release workflow Jan 13, 2026
Copilot AI requested a review from louislam January 13, 2026 01:20
@louislam louislam changed the title Add automated beta release workflow chore: Add automated beta release workflow Jan 13, 2026
@louislam
Copy link
Copy Markdown
Owner

@copilot I decide to try to move some logic into extra/release/beta.mjs, I have refactored some code, added some TODO comments, can you finish them?

Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 13, 2026

@copilot I decide to try to move some logic into extra/release/beta.mjs, I have refactored some code, added some TODO comments, can you finish them?

Done! I've completed both TODO functions:

  1. createDistTarGz() - Creates dist.tar.gz using Node.js tar package with proper error handling
  2. createReleasePR() - Creates a draft PR with changelog using gh CLI, supports dry-run mode

Also fixed the environment variable mismatch (RELEASE_PREVIOUS_VERSION) and removed all TODO comments.

Commit: f03b27c

@louislam louislam marked this pull request as ready for review January 13, 2026 03:40
Copilot AI review requested due to automatic review settings January 13, 2026 03:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a GitHub Actions workflow for automated beta releases with manual trigger support, automated changelog generation, Docker image builds, and distribution artifact upload.

Changes:

  • Adds new GitHub Actions workflow for beta releases with manual trigger and dry-run support
  • Refactors beta release script to remove interactive prompts and integrate PR creation
  • Implements changelog generation and dist tarball creation functions

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/beta-release.yml New workflow with manual trigger, version inputs, and multi-step release process
extra/release/beta.mjs Removed interactive prompts, added dry-run support, integrated PR creation
extra/release/lib.mjs Added createDistTarGz and createReleasePR functions with JSDoc
extra/generate-changelog.mjs Exported generateChangelog function for programmatic use
package-lock.json Automated dependency updates

@louislam louislam disabled auto-merge January 13, 2026 03:45
@louislam louislam enabled auto-merge (squash) January 13, 2026 03:48
@louislam louislam merged commit 17b6feb into master Jan 13, 2026
24 checks passed
@louislam louislam deleted the copilot/release-beta-image-workflow branch January 13, 2026 04:21
@CommanderStorm CommanderStorm added this to the 2.1.0 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants