Skip to content

[codex] Fix desktop release publish repo context#13

Merged
DragonnZhang merged 1 commit into
mainfrom
dragon/fix-release-publish-gh-repo
Jun 8, 2026
Merged

[codex] Fix desktop release publish repo context#13
DragonnZhang merged 1 commit into
mainfrom
dragon/fix-release-publish-gh-repo

Conversation

@DragonnZhang

Copy link
Copy Markdown
Collaborator

Summary

  • set GH_REPO for the desktop release publishing step so gh does not depend on a local git checkout

Root cause

The publish job only downloads installer artifacts and does not check out the repository. Without an explicit repo context, gh release commands try to infer the repository from .git and fail with fatal: not a git repository.

Validation

  • ruby YAML parse for .github/workflows/desktop-release.yml
  • git diff --check
  • ran gh release view from a non-git temp directory with GH_REPO=modelstudioai/openwork; it no longer failed on missing .git and returned the expected release not found result for v0.0.2

@DragonnZhang DragonnZhang marked this pull request as ready for review June 8, 2026 15:01
@DragonnZhang DragonnZhang merged commit 3028d94 into main Jun 8, 2026
1 check 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