Fix archive links.
This commit is contained in:
@ -330,8 +330,7 @@ publish-index: | $(GEN)
|
|||||||
$(GSUTIL) ls gs://eforth/releases | tools/webindex.py >$(GEN)/archive.html
|
$(GSUTIL) ls gs://eforth/releases | tools/webindex.py >$(GEN)/archive.html
|
||||||
$(GSUTIL_CP) \
|
$(GSUTIL_CP) \
|
||||||
$(GEN)/archive.html \
|
$(GEN)/archive.html \
|
||||||
gs://eforth/releases/index.html
|
gs://eforth/releases/archive.html
|
||||||
$(GSUTIL) web set -m index.html -e 404.html gs://eforth
|
|
||||||
|
|
||||||
publish: publish-esp32 publish-linux publish-windows publish-index
|
publish: publish-esp32 publish-linux publish-windows publish-index
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://eforth.storage.googleapis.com/releases/" target="_blank">Release Archive</a>
|
<a href="https://eforth.storage.googleapis.com/releases/archive.html" target="_blank">Release Archive</a>
|
||||||
- Prior Releases
|
- Prior Releases
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://eforth.storage.googleapis.com/releases/" target="_blank">Release Archive</a>
|
<a href="https://eforth.storage.googleapis.com/releases/archive.html" target="_blank">Release Archive</a>
|
||||||
- Prior Releases
|
- Prior Releases
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://eforth.storage.googleapis.com/releases/" target="_blank">Release Archive</a>
|
<a href="https://eforth.storage.googleapis.com/releases/archive.html" target="_blank">Release Archive</a>
|
||||||
- Prior Releases
|
- Prior Releases
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -13,4 +13,6 @@ sys.stdout.write("""<!DOCTYPE html>
|
|||||||
for line in sys.stdin.read().splitlines():
|
for line in sys.stdin.read().splitlines():
|
||||||
url = line.replace('gs://eforth/', 'https://eforth.storage.googleapis.com/')
|
url = line.replace('gs://eforth/', 'https://eforth.storage.googleapis.com/')
|
||||||
name = line.replace('gs://eforth/releases/', '')
|
name = line.replace('gs://eforth/releases/', '')
|
||||||
|
if name == 'archive.html':
|
||||||
|
continue
|
||||||
sys.stdout.write('<a href="%s">%s</a><br/>\n' % (name, url))
|
sys.stdout.write('<a href="%s">%s</a><br/>\n' % (name, url))
|
||||||
|
|||||||
Reference in New Issue
Block a user