Skip to content

ci(PP-3449): fix production release for semantic-release-created tags#199

Merged
sergak01 merged 1 commit into
developfrom
pp-3449-release-allow-same-version
Jul 7, 2026
Merged

ci(PP-3449): fix production release for semantic-release-created tags#199
sergak01 merged 1 commit into
developfrom
pp-3449-release-allow-same-version

Conversation

@sergak01

@sergak01 sergak01 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Fixes the Production Release failure on v1.0.0-beta.2. (1) npm version now uses --allow-same-version: semantic-release tags point at the chore(release) commit where package.json already carries the version, so plain npm version failed with 'Version not changed'. (2) Adds an optional 'tag' input to workflow_dispatch: dispatching on a tag runs the workflow file frozen at that tag, so the fix would be unreachable for existing tags - now you dispatch from develop (fresh workflow) and pass the tag to publish. (3) Beta versions are now marked as GitHub prereleases. After merge, publish the pending beta with: gh workflow run release.yml --ref develop -f tag=v1.0.0-beta.2. Merge Request: origin/pp-3449-release-allow-same-version -> origin/develop

Two problems publishing v1.0.0-beta.2:

- Tags created by semantic-release point at the chore(release) commit
  where package.json already carries the tag's version, so plain
  `npm version` fails with 'Version not changed'. Add
  --allow-same-version.

- workflow_dispatch on a tag runs the workflow file frozen at that
  tag, so a fixed workflow on develop is unreachable for existing
  tags. Add an optional 'tag' input: dispatch from a branch (fresh
  workflow file) while checking out and publishing the given v* tag.

Also mark prerelease versions as GitHub prereleases so a beta never
becomes the repo's 'Latest' release.
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 71e57573-eb13-409d-8563-8a0c1c50b35c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pp-3449-release-allow-same-version

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sergak01 sergak01 self-assigned this Jul 7, 2026
@sergak01 sergak01 merged commit 3c83f91 into develop Jul 7, 2026
3 checks passed
@sergak01 sergak01 deleted the pp-3449-release-allow-same-version branch July 7, 2026 07:53
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