modbus2mqtt / server

server for modbus2mqtt for REST API of configuration and publishing modbus values to mqtt
MIT License
0 stars 2 forks source link

Working version of release.py #6

Closed volkmarnissen closed 2 months ago

volkmarnissen commented 2 months ago

Release.py need this file structure: clone modbus2mqtt/specification.shared clone modbus2mqtt/server.shared clone modbus2mqtt/specification clone modbus2mqtt/angular clone modbus2mqtt/server clone modbus2mqtt/hassio-addon-repository into the same root directory.

release.py has a debug mode. It copies the addon to a local directory on a HA server It restarts the addon and waits for attaching the debugger at 9229 You can call it multiple times. It will only update the modbus/* components from the local directory and copy it into the addon docker container and then restart the node process. This is a quick way. to test the addon in a HA environment.

release.ps w/o debug will check the components After successful check, it will add a release tag. This triggers the CI/CD workflow to release the component.