FroshPluginUploader
Tool for uploading new plugin releases to Shopware Store
This Tool works only for the new plugin system, Shopware Platform and app system
Required Environment variables
Name | Default | Description |
---|---|---|
ACCOUNT_USER | Shopware ID | |
ACCOUNT_PASSWORD | Shopware ID password | |
Removed with Version 0.3.0 |
Requirements for Plugin
Docker
You can use it also using Docker. Don't forget to pass your credentials as env variables.
Example:
❯ docker run --rm -v (pwd):/storage friendsofshopware/plugin-uploader plugin:validate /storage/FroshAppGoogleSheet.zip
[OK] Has been successfully validated
Using the Commands
ext:upload
Will upload the zip to the store and triggers a code review. Plugin version can be deployed multiple times, which updates the version
Valid arguments are:
pathToZip - path to the zip file
Valid options are:
--skipCodeReview - Skip the Code-Review
--skipCodeReviewResult - Skip waiting for Code-Review Result
ext:update
Will update informations about the plugin from the Resources/store
-folder
Valid arguments are:
path - path to the plugin folder
For more Information about the Resources/store folder checkout this
ext:validate
Will check the plugin for validation exceptions for Code Review
Valid arguments are:
pathToZip - path to the zip file
Valid options are:
--create - Create the plugin in account, if it doesn't exist
ext:list
Shows all plugins in the account with the id, name, latest version and last changed.
ext:download:resources
Downloads all store resources from store to the given folder
ext:zip
Allows to zip the git repository or folder of the plugin
Valid arguments are:
path - path to the directory
branch - Optional: will detect the latest tag, otherwise will use master
Valid options are:
--strategy - default `git`. `plain` will zip the folder as it is.
A .sw-zip-blacklist file can be used to define which files should be deleted before creating the zip. (Deprecated, will be removed with 0.4.0)