Preparing Plugins for Publishing
When your plugin is ready, you might want to upload it to the JetBrains Plugin Repository (http://plugins.intellij.net) or to the repository of your own. Yet, before uploading a plugin, you need to create a ZIP or JAR plugin archive. This section provides instructions for creating such an archive.
To create a plugin archive
Right-click the plugin module in the Project view and
select Prepare Plugin Module <module-name> For Deployment in the context menu.
As a result, IntelliJ IDEA will create the necessary archive.