Skip to content

Publishing package with scope different from username #52267

Closed Answered by SMelidoni
xenobytezero asked this question in Packages
Discussion options

You must be logged in to vote

Hi there @xenobytezero 👋🏽

In GitHub Packages, the scope for a package should match the owner of the repository when publishing to a user account. In your case, since you're publishing to a private repository owned by xenobytezero, you should use the @xenobytezero scope for your package.

However, if you want to use an arbitrary scope (like @ges), you can create an organisation on GitHub with that name. This would allow you to publish packages under the @ges scope.

To create an organisation and set up the desired scope:

  1. Create a GitHub organisation: Follow the documentation on creating a new organisation and choose the name that matches your desired scope (e.g., "ges").

  2. Transfer your re…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DL259
Comment options

Answer selected by xenobytezero
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Question
3 participants