Releasing your module - bitfocus/companion-module-base GitHub Wiki
First Release
If this is the first release of your module, you will need to request the repository on Slack.
Please post a message in the #module-development channel the includes your GitHub username and the desired name of your module in the manufacturer-product format.
Releasing a New Version
When a new version of your module has been tested and is ready for distribution, use the following guide to submit it for review:
-
Update
package.jsonversion- Use the
major.minor.patchformat (e.g.,1.2.3). - Refer to the Versioning of Modules guide for details.
- Use the
-
(Optional) Update
companion/manifest.jsonversion- This is not required; the build process will override this value with the version from the
package.json.
- This is not required; the build process will override this value with the version from the
-
Create a Git tag
- Prefix the version number with
v(e.g.,v1.2.3). - You can create the tag by:
- Creating a release on GitHub, or
- Creating a local tag and pushing it to the repository.
- Prefix the version number with
-
Submit the new version in the Bitfocus Developer Portal (login with GitHub).
- In the sidebar, go to My Connections and select the module.
- Click Submit Version (bottom of page).
- Choose the Git Tag to submit.
- (Optional) Check Is Prerelease if this is a beta release.
- Click Submit to send for review. The version status should show "Pending" after this.
Notes about the review process:
- Only versions submitted to the developer portal will be reviewed.
- Reviews are done by volunteers, so review time depends on member availability and the complexity of code changes to be reviewed.
- If adjustments are needed, you'll receive feedback through the developer portal.
- Once approved, the new version of the module becomes immediately available to download for users on Companion v4.0.0+.