Changes the versions according to the configuration file (shop-extension.json) in the calling repository.
This can be used in an automated release workflow to change release version, as seen here
Simply add the action to your workflow
- name: Change release version
uses: wirecard/extension-release-version@master
with:
repository: <repository-name>
And adapt shop-extension.json
to your repositories.
Below you can find an example configuration.
The script takes the full configuration out of the shop-extension.json
since it was created with the purpose
to be used in several extension projects.
{
"extensions": {
"prestashop": [
{
"filename": "wirecardpaymentgateway.php",
"version": "VERSION"
}
]
}
}
The main.py
file is the main file called through entrypoint.sh
in the container.
It calls the required objects in the correct order and executes the necessary methods.