Skip to content

Beta builds (manual trigger) #7798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 26, 2025
Merged

Beta builds (manual trigger) #7798

merged 21 commits into from
Jun 26, 2025

Conversation

kpal81xd
Copy link
Contributor

@kpal81xd kpal81xd commented Jun 26, 2025

Motivation

The release-X.XX branches has support for prereleases however these are solely used for creating preview for bug patches. This PR adds support by creating a manual workflow to create a beta release from current new or breaking features on main.

Overview

  • Adds manual workflow to create a prerelease on main branch X.X.X-beta.X which writes the version bump to main (this includes the commit and the tag).
  • Adds check for any recent changes before creating release (has force boolean input for override)
  • Updates publish workflow to trigger on prereleases with the beta id to chain the prerelease workflow to the publish workflow
  • Set a new npm publish tag beta to track builds
  • Updated package json, lockfile and release script to use beta instead of dev

Update

  • Cherry pick to branch main_v1
  • Cherry pick to branch release-2.X
  • Cherry pick to branch release-1.7
  • Editor support for beta prerelease type

@kpal81xd kpal81xd changed the title Manual nightly engine builds Nightly dev builds (manual trigger) Jun 26, 2025
@kpal81xd kpal81xd requested a review from a team June 26, 2025 09:34
@kpal81xd kpal81xd requested review from Copilot and a team June 26, 2025 10:47
Copy link
Contributor

@Copilot 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

Adds a manual “Nightly” workflow to generate dev prereleases and updates the existing publish workflow to handle -dev tags.

  • Introduces nightly.yaml with a workflow_dispatch trigger to bump and push a dev prerelease on main
  • Extends publish.yaml to match -dev.* tags and publish them under the dev npm dist-tag

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/publish.yaml Added -dev.[0-9]+ tag pattern and set tag=dev branch
.github/workflows/nightly.yaml New manual nightly workflow for dev prerelease bumping
Comments suppressed due to low confidence (2)

.github/workflows/nightly.yaml:22

  • The step name indicates Node.js 18.x but the node-version is set to 22.x. Update the step title or the version to keep them consistent.
      - name: Set up Node.js 18.x

.github/workflows/nightly.yaml:20

  • By default actions/checkout does a shallow clone which may not fetch all tags. Add fetch-depth: 0 under this step to ensure git describe --tags can find the latest tag.
        uses: actions/checkout@v4

@kpal81xd kpal81xd changed the title Nightly dev builds (manual trigger) Beta builds (manual trigger) Jun 26, 2025
@kpal81xd kpal81xd merged commit 80b31f7 into main Jun 26, 2025
7 checks passed
@kpal81xd kpal81xd deleted the nightly branch June 26, 2025 12:51
kpal81xd added a commit that referenced this pull request Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish"

* WIP: nightly workflow

* Add optional input for test execution in nightly workflow

* WIP: Converted manual workflow to on push for testing

* Add Git user configuration step to nightly workflow

* Add steps to push changes and tags after version bump in nightly workflow

* Fix GitHub Action user name in nightly workflow configuration

* Updated job name and limited to just run on main

* Updated publish name and allow publishing from dev

* Combined push commit and tag

* Manual nightly build

* Removed storing version in env

* Add change detection step to nightly workflow

* Added quiet flag to suppress changes

* Make workflow fail if no changes found with input override

* Fix newline issue at end of file in nightly workflow

* Fix fetch-depth configuration in nightly workflow

* Fix conditional syntax in nightly workflow change detection

* Changed tag from nightly to beta

* Update Node.js version to 22.x in CI and publish workflows
kpal81xd added a commit that referenced this pull request Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish"

* WIP: nightly workflow

* Add optional input for test execution in nightly workflow

* WIP: Converted manual workflow to on push for testing

* Add Git user configuration step to nightly workflow

* Add steps to push changes and tags after version bump in nightly workflow

* Fix GitHub Action user name in nightly workflow configuration

* Updated job name and limited to just run on main

* Updated publish name and allow publishing from dev

* Combined push commit and tag

* Manual nightly build

* Removed storing version in env

* Add change detection step to nightly workflow

* Added quiet flag to suppress changes

* Make workflow fail if no changes found with input override

* Fix newline issue at end of file in nightly workflow

* Fix fetch-depth configuration in nightly workflow

* Fix conditional syntax in nightly workflow change detection

* Changed tag from nightly to beta

* Update Node.js version to 22.x in CI and publish workflows
kpal81xd added a commit that referenced this pull request Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish"

* WIP: nightly workflow

* Add optional input for test execution in nightly workflow

* WIP: Converted manual workflow to on push for testing

* Add Git user configuration step to nightly workflow

* Add steps to push changes and tags after version bump in nightly workflow

* Fix GitHub Action user name in nightly workflow configuration

* Updated job name and limited to just run on main

* Updated publish name and allow publishing from dev

* Combined push commit and tag

* Manual nightly build

* Removed storing version in env

* Add change detection step to nightly workflow

* Added quiet flag to suppress changes

* Make workflow fail if no changes found with input override

* Fix newline issue at end of file in nightly workflow

* Fix fetch-depth configuration in nightly workflow

* Fix conditional syntax in nightly workflow change detection

* Changed tag from nightly to beta

* Update Node.js version to 22.x in CI and publish workflows
liamdon pushed a commit to liamdon/engine that referenced this pull request Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish"

* WIP: nightly workflow

* Add optional input for test execution in nightly workflow

* WIP: Converted manual workflow to on push for testing

* Add Git user configuration step to nightly workflow

* Add steps to push changes and tags after version bump in nightly workflow

* Fix GitHub Action user name in nightly workflow configuration

* Updated job name and limited to just run on main

* Updated publish name and allow publishing from dev

* Combined push commit and tag

* Manual nightly build

* Removed storing version in env

* Add change detection step to nightly workflow

* Added quiet flag to suppress changes

* Make workflow fail if no changes found with input override

* Fix newline issue at end of file in nightly workflow

* Fix fetch-depth configuration in nightly workflow

* Fix conditional syntax in nightly workflow change detection

* Changed tag from nightly to beta

* Update Node.js version to 22.x in CI and publish workflows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants