Skip to content

Fix automated release publishing - #6

Merged
matthewdorman merged 1 commit into
mainfrom
fix/release-publish-repo
Aug 19, 2026
Merged

matthewdorman merged 1 commit into
mainfrom
fix/release-publish-repo

Conversation

@matthewdorman

Copy link
Copy Markdown
Owner

Summary

  • pass the explicit GitHub repository to gh release create in the tag-only publish job
  • allow release publication to work without checking out a Git working tree in that least-privilege job

Root cause

The v0.1.0 build and artifact validation passed, but the publish job failed because GitHub CLI attempted to discover the repository from a local .git directory. The publish job deliberately downloads only the validated artifact and does not check out source.

The initial v0.1.0 release was completed manually from the exact validated workflow artifact. This change fixes automatic publication for future version tags.

Validation

  • workflow YAML parses successfully
  • release command now provides --repo "${GITHUB_REPOSITORY}"
  • git diff --check clean

@matthewdorman
matthewdorman merged commit e792d2f into main Aug 19, 2026
2 checks passed
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