Skip to content

chore: prevent building binaries when there is no release - #108

Merged
Ruddickmg merged 1 commit into
developmentfrom
prevent-building-binaries-when-there-is-no-release
Jun 28, 2026
Merged

chore: prevent building binaries when there is no release#108
Ruddickmg merged 1 commit into
developmentfrom
prevent-building-binaries-when-there-is-no-release

Conversation

@Ruddickmg

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 28, 2026 07:31

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 updates the CircleCI release pipeline to avoid doing platform binary builds when semantic-release determines there is no new release to publish, reducing unnecessary CI time on main/development.

Changes:

  • Stop treating “no nextRelease version” from semantic-release --dry-run as an error (produce empty output instead).
  • Add CircleCI commands to halt build jobs early when version.txt is missing/empty.
  • Invoke those commands in all platform build jobs (Linux/macOS/Windows) before any expensive setup/build steps.

Reviewed changes

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

File Description
.circleci/get-next-version.mjs Makes “no release” a non-error by emitting no version (empty output) instead of writing an error message.
.circleci/config.yml Adds check-release-needed commands and uses them to halt platform build jobs when version.txt is empty.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 1 file with indirect coverage changes

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

@Ruddickmg
Ruddickmg merged commit d653280 into development Jun 28, 2026
11 checks passed
@Ruddickmg
Ruddickmg deleted the prevent-building-binaries-when-there-is-no-release branch June 28, 2026 07:55
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.

2 participants