Before you publish your plugin, beyond what we had just accomplished, you will also need to:
- Add more defensive code to ensure you cover situations such as the user not having installed the Heroku cli, and perhaps also installing the cli plugin in that case
- Add test cases to demonstrate you have covered multiple scenarios as part of your coverage, to make your plugin community-ready
- Finally, ensure that you document your plugin comprehensively in the README.md file, similar to the following README of the prominent community plugin fastlane-cosigner: https://github.com/Mindera/fastlane-plugin-cosigner/blob/master/README.md
You have two options for publishing your plugin. The first (and recommended) way is via https://rubygems.org/, which entails:
- Creating an account at RubyGems.org.
- Running the following to generate a new plugin folder structure for...