We are going to publish our plugin to Package Control, so everyone can download and install it. To publish our plugin, we'll need to have git
installed on our system and a GitHub account. Let's first start by creating a repository for our plugin and committing all files to it by running the following commands in the plugin folder:
git init git add . git commit –m "Initial Commit"
Create a new public repository in GitHub by going to http://github.com/new and pushing our local repository there by running:
git remote add origin https://github.com/USERNAME/REPO-NAME.git git push -u origin master
In the preceding code, USERNAME
is your username and REPO-NAME
is the repository name you just created. GitHub will prompt you for the username and password.
Now for the tricky part: we'll need to select Fork on the https://github.com/wbond/package_control_channel page, as shown in the following screenshot:
After forking, we...