Skip to content

Fix release PR body wording for drifted CLI version#53

Merged
RomainCscn merged 1 commit into
mainfrom
fix/release-pr-body-cli-version
Jun 23, 2026
Merged

Fix release PR body wording for drifted CLI version#53
RomainCscn merged 1 commit into
mainfrom
fix/release-pr-body-cli-version

Conversation

@RomainCscn

Copy link
Copy Markdown
Collaborator

The release script's PR body assumed that whenever the action version and default CLI version differ, the CLI version was unchanged — printing "default CLI version stays at vX". That's wrong when the CLI default drifts and moves in the same release (e.g. action 0.14.5, CLI 0.14.20.14.3): it read "stays at v0.14.3" even though v0.14.3 was new.

This captures the previous CLI default from action.yml before the bump and compares against it, so the body now distinguishes three cases:

  • CLI tracks the action: Bumps the action and default CLI version to vX.
  • CLI drifts but is unchanged from the last release: ... (default CLI version stays at vY).
  • CLI drifts and changed: ... (default CLI version bumped to vY).

@RomainCscn RomainCscn requested a review from axelniklasson June 23, 2026 11:57
@RomainCscn RomainCscn enabled auto-merge (squash) June 23, 2026 11:58
@RomainCscn RomainCscn merged commit ef08196 into main Jun 23, 2026
5 checks passed
@RomainCscn RomainCscn deleted the fix/release-pr-body-cli-version branch June 23, 2026 11:59
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