Skip to content

add --allow-no-changes to version command - #2392

Open
beeequeue wants to merge 5 commits into
mainfrom
version-flag
Open

beeequeue wants to merge 5 commits into
mainfrom
version-flag

Conversation

@beeequeue

Copy link
Copy Markdown
Member

fixes #2248

adds a flag that returns the v2 behavior of version exiting with code 0 if no unreleased changesets are found

@beeequeue
beeequeue requested a review from Andarist November 21, 2026 15:48
@changeset-bot

changeset-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcd534c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for changesets ready!

Name Link
🔨 Latest commit dcd534c
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6b01d3291aa5c03b777ea3c1
😎 Deploy Preview https://deploy-preview-2392--changesets.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.71%. Comparing base (704f329) to head (dcd534c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2392   +/-   ##
=======================================
  Coverage   87.71%   87.71%           
=======================================
  Files          81       81           
  Lines        2987     2988    +1     
  Branches      853      855    +2     
=======================================
+ Hits         2620     2621    +1     
  Misses        331      331           
  Partials       36       36           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

ignore?: string[];
snapshot?: string | boolean;
snapshotPrereleaseTemplate?: string;
allowNoChanges?: boolean;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

kinda lenghty, but I couldnt figure out anything better ;p

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

same here :^)

@Andarist

Copy link
Copy Markdown
Member

q: isn't maybe changeset status affected by a similar problem~?

This branch has not been deployed

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

add option for version to exit 0 with no unreleased changesets

2 participants