Skip to content

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

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

ci: skip verifyRelease in prepare-release dry-run and add changelog#134
SamuelSSalazar wants to merge 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 #122

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 errored.
  • A stray .tgz in the release PR : npm pack left xml-encryption-*.tgz in the workspace, which create-pull-request then committed into the release PR (see chore(release): 4.0.1 #130 vs. the clean chore(release): 4.0.0 #124).

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 4.0.1 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, preserving prior entries.

@SamuelSSalazar SamuelSSalazar marked this pull request as ready for review June 23, 2026 17:33
@SamuelSSalazar SamuelSSalazar requested a review from a team as a code owner June 23, 2026 17:33
@SamuelSSalazar SamuelSSalazar force-pushed the ci/fix-prepare-release-dry-run branch from 78d261d to da7dd19 Compare June 24, 2026 14:39
@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 force-pushed the ci/fix-prepare-release-dry-run branch 3 times, most recently from 4c2901b to 9a13f20 Compare June 24, 2026 16:52
@SamuelSSalazar SamuelSSalazar force-pushed the ci/fix-prepare-release-dry-run branch from 9a13f20 to baa5cd0 Compare June 24, 2026 17:37
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