Skip to content

fix(release): derive repo from git remote for gh release create#14

Merged
markshust merged 1 commit intodevelopfrom
fix/release-script-gh-repo
Apr 5, 2026
Merged

fix(release): derive repo from git remote for gh release create#14
markshust merged 1 commit intodevelopfrom
fix/release-script-gh-repo

Conversation

@markshust
Copy link
Copy Markdown
Collaborator

Summary

  • The release script's gh release create failed during the 0.1.2 release with "No default remote repository has been set" because gh repo set-default hadn't been run
  • Fix: derive the repo owner/name from the origin remote URL and pass --repo explicitly to all gh release create calls
  • Added test coverage for the new GH_REPO derivation and --repo flag

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Docs
  • Refactor

Checklist

  • Tests pass (./vendor/bin/pest --parallel)
  • Follows code standards

🤖 Generated with Claude Code

The release script's `gh release create` failed with "No default
remote repository has been set" when `gh repo set-default` hadn't
been run. Fix by deriving the repo from the origin remote URL and
passing `--repo` explicitly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added bug Something isn't working breaking Introduces a breaking change labels Apr 5, 2026
@markshust markshust removed the breaking Introduces a breaking change label Apr 5, 2026
@markshust markshust merged commit ea2d38f into develop Apr 5, 2026
1 check passed
@markshust markshust deleted the fix/release-script-gh-repo branch April 5, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant