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

Unified Diff: src/scripts/archive_build.sh

Issue 471008: Misc. fixes to versioning. (Closed)
Patch Set: versioning2 Created 11 years 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 | src/scripts/build_image.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/archive_build.sh
diff --git a/src/scripts/archive_build.sh b/src/scripts/archive_build.sh
index fb5180c611c30c19c4e2fb41fe241ee599d7ba3e..5881e0a7556b0bc64b96c85bbc11660fa00f65d7 100755
--- a/src/scripts/archive_build.sh
+++ b/src/scripts/archive_build.sh
@@ -50,7 +50,11 @@ REVISION=${REVISION:0:8}
# Use the version number plus revision as the last change. (Need both, since
# trunk builds multiple times with the same version string.)
-LAST_CHANGE="${CHROMEOS_VERSION_STRING}-r${REVISION}-b${FLAGS_build_number}"
+LAST_CHANGE="${CHROMEOS_VERSION_STRING}-r${REVISION}"
+if [ -n "$FLAGS_build_number" ]
+then
+ LAST_CHANGE="$LAST_CHANGE-b${FLAGS_build_number}"
+fi
# The Chromium buildbot scripts only create a clickable link to the archive
# if an output line of the form "last change: XXX" exists
« no previous file with comments | « no previous file | src/scripts/build_image.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698