Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

Unified Diff: src/scripts/chromeos_version.sh

Issue 652098: Add CHROME_* placeholders for setting official chrome versions for release builds. (Closed)
Patch Set: version Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/chromeos_version.sh
diff --git a/src/scripts/chromeos_version.sh b/src/scripts/chromeos_version.sh
index 48aab38555abcb82fa12b241639c55a92d510bd9..854aeabcf8f1dcdc16b63aea1b237e92c8fd8763 100755
--- a/src/scripts/chromeos_version.sh
+++ b/src/scripts/chromeos_version.sh
@@ -1,22 +1,22 @@
#!/bin/sh
-# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# ChromeOS version information
#
-# This file is usually sourced by other build scripts, but can be run
+# This file is usually sourced by other build scripts, but can be run
# directly to see what it would do.
#
-# Version numbering scheme is much like Chrome's, with the addition of
+# Version numbering scheme is much like Chrome's, with the addition of
# double-incrementing branch number so trunk is always odd.
HOSTNAME=$(hostname)
#############################################################################
# SET VERSION NUMBERS
#############################################################################
-# Major/minor versions.
+# Major/minor versions.
# Primarily for product marketing.
export CHROMEOS_VERSION_MAJOR=0
export CHROMEOS_VERSION_MINOR=5
@@ -35,13 +35,12 @@ export CHROMEOS_VERSION_PATCH=0
# Codename of this version.
export CHROMEOS_VERSION_CODENAME=""
-
#############################################################################
# SET VERSION STRINGS
#############################################################################
-# Official builds must set
-# CHROMEOS_OFFICIAL=1
+# Official builds must set
+# CHROMEOS_OFFICIAL=1
# Note that ${FOO:-0} means default-to-0-if-unset; ${FOO:?} means die-if-unset.
if [ ${CHROMEOS_OFFICIAL:-0} -eq 1 ]
then
@@ -82,6 +81,12 @@ export CHROMEOS_VERSION_STRING=\
"${CHROMEOS_VERSION_MAJOR}.${CHROMEOS_VERSION_MINOR}"\
".${CHROMEOS_VERSION_BRANCH}.${CHROMEOS_VERSION_PATCH}"
+# Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild
+# URL to chrome archive
+export CHROME_BASE=
+# directory containing chrome-chromeos.zip - an svn rev or a full version
+export CHROME_BUILD=
+
# Print version info.
echo "ChromeOS version information:"
-env | egrep "^CHROMEOS_VERSION" | sed 's/^/ /'
+env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698