Run the following command in your git repository
npx ray publish
This will ask you to login with GitHub (in order to automate the process) and then open a PR on https://github.com/raycast/extensions with your extension.
If someone contributes to your extension, running npx ray publish
will fail until you run
npx ray pull-contributions
in your git repository. This will merge the contributions with your code, asking you to fix the conflicts if any.
Use the new Fork Extension
action in Raycast. This will create a new folder containing the source files of the extension.
Once you’re done writing your contribution, run npx ray publish
in the new folder.