summaryrefslogtreecommitdiff
path: root/bin/prerelease.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/prerelease.sh')
-rwxr-xr-xbin/prerelease.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/prerelease.sh b/bin/prerelease.sh
new file mode 100755
index 0000000..f616e8d
--- /dev/null
+++ b/bin/prerelease.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+SRC=/eng/ssb/websites/ssbpublic/conda-dev
+DST=/eng/ssb/websites/ssbpublic/astroconda-prerelease/
+
+( cd $SRC \
+ && rsync -aH --relative */*jwst* $DST \
+ && conda index "$DST/linux-64" \
+ && conda index "$DST/osx-64" \
+ && cbc_repo2html "$DST/linux-64/repodata.json" > "$DST/linux-64/index.html" \
+ && cbc_repo2html "$DST/osx-64/repodata.json" > "$DST/osx-64/index.html"
+)