Skip to content

ci: skip verifyRelease in prepare-release dry-run and add changelog#61

Merged
SamuelSSalazar merged 1 commit into
masterfrom
ci/fix-prepare-release-dry-run
Jun 25, 2026
Merged

ci: skip verifyRelease in prepare-release dry-run and add changelog#61
SamuelSSalazar merged 1 commit into
masterfrom
ci/fix-prepare-release-dry-run

Conversation

@SamuelSSalazar

@SamuelSSalazar SamuelSSalazar commented Jun 23, 2026

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 #60

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.

This PR also adds a CHANGELOG.md generation step and hardens Detect Next Version to fail the step on a non-zero semantic-release exit instead of masking it behind the awk pipe.

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.
  • CHANGELOG.md is updated with a new conventionalcommits-formatted section.

@SamuelSSalazar SamuelSSalazar requested a review from a team as a code owner June 23, 2026 20:23
@SamuelSSalazar SamuelSSalazar force-pushed the ci/fix-prepare-release-dry-run branch from 4a41ecc to b31867b Compare June 24, 2026 15:07
@SamuelSSalazar SamuelSSalazar force-pushed the ci/fix-prepare-release-dry-run branch from b31867b to 75e1ef8 Compare June 24, 2026 19:44
@SamuelSSalazar SamuelSSalazar changed the title ci: skip verifyRelease in prepare-release dry-run ci: skip verifyRelease in prepare-release dry-run and add changelog Jun 24, 2026
@SamuelSSalazar SamuelSSalazar merged commit 1b54a3b into master Jun 25, 2026
5 checks passed
@SamuelSSalazar SamuelSSalazar deleted the ci/fix-prepare-release-dry-run branch June 25, 2026 15:23
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