Publish proper nightly releases#3956
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restores the automated workflow for publishing nightly "commitly" releases and implements a version override mechanism to handle the transition from version 2.x to 3.x.
Changes:
- Re-enabled automatic publishing on pushes to the main branch
- Added version override logic to generate 3.0.0-nightly versions when the latest NPM tag points to 2.x
- Updated test cases to reflect the new version generation behavior
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/publish-release.yml | Uncommented the push trigger to restore automatic commitly releases on main branch pushes |
| scripts/release/get-version.js | Added conditional logic to override major version to 3 when latest is 2.x, with a TODO for removal after stable 3.x release |
| scripts/release/tests/get-version.test.js | Updated test cases to use version 3.x as baseline and added new test for version override behavior |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
m-bert
approved these changes
Feb 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
m-bert
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Changes the release scripts to release proper nightly versions instead of commitlies. The script will now run once per day and publish a new nightly version, assuming there were any new commits on
mainbranch. If there were no new commits, the job should fail.nightlyis now also available in the dropdown when running a release manually, in case a new release is needed quickly to easily test the latest commit.Updated the
get-versionscript to return3.0.0-nightly-...when thelatesttag on NPM points to 2.x.