extensions: can't publish using the `npx ray publish` tool
Description
After commit in local repo, can’t using the npx ray publish
tool described in this Notion Doc
Steps To Reproduce
- fork extension
ToolBox
to local using the new Fork Extension action in Raycast. - write new code and commit locally.
- run
npx ray publish
- encountered an error
wait - validate git repository.failed running git command 'git log origin/main..HEAD', exit status 128

Current Behaviour
encountered an error
Expected Behaviour
won’t encounter any error and create PR automatically.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 36 (36 by maintainers)
Alright, I’ll make the error messages more explicit and close this issue as the OP was fixed a while ago
Sparse-checkout isn’t particularly new and it is indeed what
ray publish
uses under the hoodI was more thinking about reading the local git config when you run
ray publish
to use the same in the forkThat’s the point yes. The goal is to abstract the flow away from this repo.
How do you usually commit if not using the global git config?
Yeah that’s a bug that will be fixed in the next release
right so for some reason
git remote get-url origin
doesn’t fail on your computer when we run it in theray
CLI, even tho it fails when you run it in your terminal 🤔I’ll have a look. In the meantime, you could push your repo to github repository so that there is a remote…