Skip to content

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

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#134
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 #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 4 times, most recently from 9a13f20 to baa5cd0 Compare June 24, 2026 17:37
@SamuelSSalazar SamuelSSalazar force-pushed the ci/fix-prepare-release-dry-run branch from baa5cd0 to c86f553 Compare June 25, 2026 13:26
@SamuelSSalazar SamuelSSalazar merged commit dd41f9d into master Jun 25, 2026
4 checks passed
@SamuelSSalazar SamuelSSalazar deleted the ci/fix-prepare-release-dry-run branch June 25, 2026 14:06
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants