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

Unified Diff: dart/site/try/deploy.sh

Issue 126003002: Address comments from CL 125123002 and additional cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update copyright year. Created 6 years, 11 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 | « dart/site/try/create_manifest.sh ('k') | dart/site/try/extracted_themes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/deploy.sh
diff --git a/dart/site/try/deploy.sh b/dart/site/try/deploy.sh
index 9e7145a0dcf4a32e59a0e3f4ead6fa0fbd7206f7..79892857be71fe02d867472c61586c96b8d32c2e 100644
--- a/dart/site/try/deploy.sh
+++ b/dart/site/try/deploy.sh
@@ -1,3 +1,15 @@
+#!/bin/bash
+# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+# Deploy step for try.dartlang.org. Usage:
+#
+# bash deploy.sh OLD NEW
+#
+# Where OLD and NEW are unique prefixes, for example, a short git commit hash.
+# OLD is the existing prefix that should be replaced by NEW.
+
old=$1
new=$2
echo git checkout-index -a -f --prefix=$new/
« no previous file with comments | « dart/site/try/create_manifest.sh ('k') | dart/site/try/extracted_themes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698