Skip to content

Publish proper nightly releases#3956

Merged
j-piasecki merged 4 commits into
mainfrom
@jpiasecki/restore-publishing-commitlies
Feb 6, 2026
Merged

Publish proper nightly releases#3956
j-piasecki merged 4 commits into
mainfrom
@jpiasecki/restore-publishing-commitlies

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Feb 5, 2026

Copy link
Copy Markdown
Member

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 main branch. If there were no new commits, the job should fail.

nightly is 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-version script to return 3.0.0-nightly-... when the latest tag on NPM points to 2.x.

Copilot AI review requested due to automatic review settings February 5, 2026 13:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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.

Comment thread scripts/release/__tests__/get-version.test.js
@j-piasecki j-piasecki changed the title Restore publishing commitlies Publish proper nightly releases Feb 6, 2026
@j-piasecki j-piasecki requested review from Copilot and m-bert February 6, 2026 12:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread scripts/release/get-version.js
Comment thread scripts/release/get-version.js
Comment thread scripts/release/get-version.js
@j-piasecki j-piasecki merged commit 6edaba5 into main Feb 6, 2026
7 checks passed
@j-piasecki j-piasecki deleted the @jpiasecki/restore-publishing-commitlies branch February 6, 2026 13:00
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.

3 participants