Skip to content

Explain missing CLI release in release script - #78

Merged
axelniklasson merged 1 commit into
mainfrom
fix-release-missing-cli-hint
Oct 29, 2026
Merged

axelniklasson merged 1 commit into
mainfrom
fix-release-missing-cli-hint

Conversation

@axelniklasson

Copy link
Copy Markdown
Contributor

When the action and CLI versions drift (as with v0.18.1/v0.18.2, which ship CLI v0.18.0), running ./scripts/release.sh <version> without --cli-version looks up a CLI release that doesn't exist and fails with a bare gh: Not Found (HTTP 404).

The script now explains the failure and suggests the fix, using the current default from action.yml:

Pinning checksums for CLI v0.18.3...
gh: Not Found (HTTP 404)
Error: Could not fetch CLI release v0.18.3 from linear/linear-release.
The CLI version defaults to the action version. If they differ, pass it explicitly, e.g.:
  ./scripts/release.sh 0.18.3 --cli-version 0.18.0

🤖 Generated with Claude Code

When the action and CLI versions drift, running the release script without
--cli-version looked up a CLI release that doesn't exist and failed with a bare
gh 404. Print what went wrong and suggest --cli-version with the current default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@linear-code

linear-code Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

LIN-91615

@axelniklasson
axelniklasson requested a review from eldh October 29, 2026 07:50
@axelniklasson
axelniklasson enabled auto-merge (squash) October 29, 2026 07:50
@axelniklasson
axelniklasson merged commit 1f56b1a into main Oct 29, 2026
6 checks passed
@axelniklasson
axelniklasson deleted the fix-release-missing-cli-hint branch October 29, 2026 08:30
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