Fetching current Domoticz revision number
Posted: Tuesday 05 February 2019 13:21
Hello !
Domoticz user since 2016, I have it running in a Docker container on a RPi.
Nothing too fancy, but I'm planning on bringing a little more automation in the process, and with that in mind, I'd like to build my Docker images with the revision as the tag.
I know that I can get the revision from the json found at json.htm?type=command¶m=checkforupdate, but is there a way to fetch the current revision number elsewhere, like if my domoticz isn't running anymore ?
Many thanks in advance for the answers
Domoticz user since 2016, I have it running in a Docker container on a RPi.
Nothing too fancy, but I'm planning on bringing a little more automation in the process, and with that in mind, I'd like to build my Docker images with the revision as the tag.
I know that I can get the revision from the json found at json.htm?type=command¶m=checkforupdate, but is there a way to fetch the current revision number elsewhere, like if my domoticz isn't running anymore ?
Many thanks in advance for the answers