diff options
author | Sam Davis | 2015-06-05 17:44:15 +0000 |
---|---|---|
committer | Sam Davis | 2015-06-05 17:44:29 +0000 |
commit | 84b6f2bcdc185a3007dfba90e9174a8f0fe94d95 (patch) | |
tree | 532de618d67d7cdb0c2f82c48a4b104d1c32fcbd | |
parent | 02430632028b5f12e37dad338ac842c6f908f27c (diff) | |
download | org.eclipse.mylyn-84b6f2bcdc185a3007dfba90e9174a8f0fe94d95.tar.gz org.eclipse.mylyn-84b6f2bcdc185a3007dfba90e9174a8f0fe94d95.tar.xz org.eclipse.mylyn-84b6f2bcdc185a3007dfba90e9174a8f0fe94d95.zip |
prevent caching drops index
-rwxr-xr-x | org.eclipse.mylyn.releng/bin/generate-snapshot-index.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.releng/bin/generate-snapshot-index.sh b/org.eclipse.mylyn.releng/bin/generate-snapshot-index.sh index 7e45cd90..81600280 100755 --- a/org.eclipse.mylyn.releng/bin/generate-snapshot-index.sh +++ b/org.eclipse.mylyn.releng/bin/generate-snapshot-index.sh @@ -1,7 +1,12 @@ #!/bin/bash -e pushd /home/data/httpd/download.eclipse.org/mylyn/drops > /dev/null -echo "<html><body><h1>Mylyn Snapshot Builds</h1>" > index.html.temp + +echo "<html><head><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />" > index.html.temp +echo "<meta http-equiv="Pragma" content="no-cache" />" >> index.html.temp +echo "<meta http-equiv="Expires" content="0" /></head>" >> index.html.temp + +echo "<body><h1>Mylyn Snapshot Builds</h1>" >> index.html.temp echo "<p>Weekly builds are production quality, but subject to UI changes.</p><p>" >> index.html.temp for f in `find -name *3.1*.zip -not -name *-api.zip | sort`; do echo "<a href=\"$f\">${f##.*/}</a><br/>" >> index.html.temp |