mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-10-03 15:29:44 +00:00
If the upstreamversion file exists read the current version from there. Only read from /usr/lib/os-release if the upstreamversion file does not exist. The os-release file is modified every time a local mix is migrated to (version * 1000) so reading from that file every time causes the mix version to multiply by 1000 every mix build. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>