We recommend developing add-ons in Git repositories—this facilitates collaboration and testing. There are instructions on organizing your Git workflow, that can make add-on development more convenient for you.
There is one more reason to use Git—you can deliver add-on releases from GitHub to the Marketplace automatically. This article shows how to do that.
Important
Before you begin, you’ll need to add your add-on to the Marketplace. The add-on must follow these rules.
Once you have made some changes in your repository and are ready to roll out a new release, follow these steps:
$ git add . $ git commit -m "Functionality added."
$ git tag 1.1.0
$ git push origin master
$ git push origin 1.1.0
Error Text | Possible Reasons |
---|---|
Hook has been skipped | Updating with Git is disabled for the add-on.
The webhook uses a wrong Webhook URL.
|
Invalid payload | The service has sent the data with the invalid structure.
The Webhook secret on the Marketplace or in the service is incorrect.
|
Unknown payload source | The service that is used isn’t supported. |
Not a push. Skipped | An action other than git push was performed with the repository. |
Not a tag. Skipped | It wasn’t a tag that was sent to the repository. |
Tag is not in the Semantic Versioning format. Skipped | The tag doesn’t follow Semantic Versioning. |
Wrong owner/repository. Skipped | The wrong Repository owner/Repository name has been specified in the Marketplace.
The webhook uses a wrong Webhook URL.
|
Tagged commit is not in the branch {Branch name}. Skipped | The commit that was tagged isn’t a part of the branch that is specified as the Branch name in the Marketplace. |
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.