summaryrefslogtreecommitdiff
path: root/bin/rebuild-index.sh
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2018-12-17 17:40:16 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-02-21 15:37:35 -0600
commit5600c9f0d98f620c5ac57f24cd3c8fffee9d0a47 (patch)
tree0a189dd3296d472e8eff56c9d4ac10f0a43794d8 /bin/rebuild-index.sh
parenta6e8e889b291a5a048cbdf5497f19216a4acb25e (diff)
downloadspack-5600c9f0d98f620c5ac57f24cd3c8fffee9d0a47.tar.gz
spack-5600c9f0d98f620c5ac57f24cd3c8fffee9d0a47.tar.bz2
spack-5600c9f0d98f620c5ac57f24cd3c8fffee9d0a47.tar.xz
spack-5600c9f0d98f620c5ac57f24cd3c8fffee9d0a47.zip
release workflow: Add build scripts for jobs and means to upload pkgs
Diffstat (limited to 'bin/rebuild-index.sh')
-rwxr-xr-xbin/rebuild-index.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/rebuild-index.sh b/bin/rebuild-index.sh
new file mode 100755
index 0000000000..09e14a9cee
--- /dev/null
+++ b/bin/rebuild-index.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+set -x
+
+SPACK_BIN_DIR="${CI_PROJECT_DIR}/bin"
+export PATH="${SPACK_BIN_DIR}:${PATH}"
+
+spack upload-s3 index