Closed johnnyman727 closed 9 years ago
I'm not sure this has to be a package.
Just add something like git rev-parse HEAD > openwrt/files/etc/tessel_version
to the top of the world
rule in the makefile.
@kevinmehall that's fair. My preference to have a file with a parsable version (like 0.0.1 or 1.0.1) was so that I didn't have to fetch the build list from server and cross check the sha before deciding if a Tessel needs to be updated or not. However, if we want the CLI to automatically check if the firmware is out of date on any command, we'll need to do that anyway.
@kevinmehall what do you think of this as a solution to https://github.com/tessel/openwrt-tessel/issues/15?
Any thoughts on how we could automate the versioning json file?