Skip to content

ci: skip verifyRelease in prepare-release dry-run#1037

Open
SamuelSSalazar wants to merge 1 commit into
masterfrom
ci/fix-prepare-release-dry-run
Open

ci: skip verifyRelease in prepare-release dry-run#1037
SamuelSSalazar wants to merge 1 commit into
masterfrom
ci/fix-prepare-release-dry-run

Conversation

@SamuelSSalazar

Copy link
Copy Markdown
Contributor

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Fixes the Prepare Release workflow, two bugs introduced by #1020

The Detect Next Version step ran semantic-release --dry-run --verify-conditions false. That flag only skips the verifyConditions step. The verifyRelease step still executed the @semantic-release/exec plugin's verifyReleaseCmd, which runs npm pack and then rl-wrapper. As a result:

  • rl-wrapper: not found : that binary is only installed inrelease.yml, not prepare-release.yml, so the step fails.
  • A stray .tgz in the release PR : npm pack leaves *.tgz in the workspace, which create-pull-request then commits into the release PR.

This PR fixes both issues by adding --verify-release false so the dry-run only runs analyzeCommits (still using the conventionalcommits preset from .releaserc.json), and never triggers npm pack / rl-wrapper.

Testing

Ran the dry-run command locally and verified that:

  • Version detection works: The next release version is x.y.z is printed and captured by the awk pipeline.
  • No .tgz is created.
  • No rl-wrapper invocation.

@SamuelSSalazar SamuelSSalazar requested a review from a team as a code owner June 23, 2026 20:18
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.

1 participant