Hello,
Can I read out a devices’ “Current Release” via the balena cli?
The command: balena device gives me about all the information I need - apart from that.
Thank you!
Patrick
Hello,
Can I read out a devices’ “Current Release” via the balena cli?
The command: balena device gives me about all the information I need - apart from that.
Thank you!
Patrick
Hi, yes you can indeed find a device’s current release via CLI. You can do so via balena device pin <UUID>
, which shows you the currently pinned release for the specified device. However, if the device is not pinned to a release, the output will let you know and that means the device is either running the fleet’s latest release or no release. In that case, in order to see what the fleet’s latest release is, you can run balena releases <SLUG>
to see the list of releases belonging to the fleet and refer to the latest one.
FYI: If you add a release commit hash after the device UUID in the balena device pin
command, you pin the device to that specific release