From 10d98e7b326a3d926f49fdd8c56bf78a511ce127 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 29 Apr 2014 01:00:45 -0400 Subject: [PATCH] fix(common): Switch to os-release style names in version.txt The existing version.txt is kinda annoying. The common case of referring to the current version requires joining three values and the names of those values only make sense in ChromeOS. Instead just use version as a string, using VERSION, VERSION_ID, and BUILD_ID just as they appear in os-release. It is up to the few scripts that need the individual parts to break the version apart. The old values remain for the sake of compatibility. --- build_image | 3 +++ common.sh | 11 ++++++++--- image_to_vm.sh | 2 +- tag_release | 18 +++++++++++------- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/build_image b/build_image index 32eb1caf61..e54d727a1b 100755 --- a/build_image +++ b/build_image @@ -177,6 +177,9 @@ tee "${BUILD_DIR}/version.txt" <