Skip to content

fix(release): add install instructions to release body and bump version to 0.2.0#2

Merged
rafa-thayto merged 1 commit into
mainfrom
fix-cli-installation
Feb 19, 2026
Merged

fix(release): add install instructions to release body and bump version to 0.2.0#2
rafa-thayto merged 1 commit into
mainfrom
fix-cli-installation

Conversation

@rafa-thayto

Copy link
Copy Markdown
Contributor

Summary

  • Adds a body: to the Create GitHub Release step in release.yml so every future release automatically includes install instructions — no more manually patching the release page after the fact
  • Shows two install options: resend.com/install.sh (intended long-term) and gh release download (works now while the repo is private)
  • Bumps package.json version from 0.1.00.2.0 so resend --version reports the correct version (the CLI reads its version directly from package.json via src/lib/version.ts)

Test plan

  • Merge and push a new tag — confirm the GitHub release page shows the Install section automatically
  • Run gh release download v0.2.0 --repo resend/resend-cli --pattern "resend-darwin-arm64.tar.gz" and verify the binary installs and reports 0.2.0
  • Once resend.com/install.sh is live, verify curl -fsSL https://resend.com/install.sh | bash works end to end

…on to 0.2.0

- Add body to release workflow with resend.com and gh CLI install options
- Include GitHub CLI instructions for use while repo is private
- Bump package.json version from 0.1.0 to 0.2.0 so binaries report correct version
@rafa-thayto rafa-thayto merged commit 767a524 into main Feb 19, 2026
1 check failed
dielduarte added a commit that referenced this pull request Jun 25, 2026
Felipe review (#2): doctor's API Key and API Validation checks called
resolveAuthentication without catching errors, so an expired/failed OAuth refresh
threw an unhandled error and crashed the command instead of reporting status.
Wrap both calls and return a failed check with a 'Run: resend login' hint.

Also makes the doctor tests hermetic: they previously read the developer's real
~/.config/resend/credentials.json (no XDG_CONFIG_HOME), which the stricter grant
validation surfaced. Point them at an isolated config dir.
dielduarte added a commit that referenced this pull request Jul 3, 2026
Felipe review (#2): doctor's API Key and API Validation checks called
resolveAuthentication without catching errors, so an expired/failed OAuth refresh
threw an unhandled error and crashed the command instead of reporting status.
Wrap both calls and return a failed check with a 'Run: resend login' hint.

Also makes the doctor tests hermetic: they previously read the developer's real
~/.config/resend/credentials.json (no XDG_CONFIG_HOME), which the stricter grant
validation surfaced. Point them at an isolated config dir.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant