Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added publish-worldview-latest script

Worldview Teamcfde6f0f924c
diff --git a/dev/publish/publish-worldview-latest b/dev/publish/publish-worldview-latest
new file mode 100755
index 000000000..5e090bd1b
--- /dev/null
+++ b/dev/publish/publish-worldview-latest
@@ -0,0 +1,31 @@
+#!/bin/bash
+#
+# NASA Worldview
+#
+# This code was originally developed at NASA/Goddard Space Flight Center for
+# the Earth Science Data and Information System (ESDIS) project.
+#
+# Copyright (C) 2013 United States Government as represented by the
+# Administrator of the National Aeronautics and Space Administration.
+# All Rights Reserved.
+#
+set -e
+
+PROG=$(basename "$0")
+
+die() {
+ echo "$PROG: ERROR: $@" >&2
+ exit 1
+}
+
+SOURCE_DIR=~/src/worldview
+
+[ -e "$SOURCE_DIR" ] || die "No such directory: $SOURCE_DIR"
+
+( cd "$SOURCE_DIR" ; git pull )
+ant -f "$SOURCE_DIR/build.xml" deploy
+
+
+
+
+