From 72918d5d24535adddb3131726c22026b69eb4958 Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Sat, 19 Jun 2021 21:06:39 -0700 Subject: [PATCH] Fix archive links. --- ueforth/Makefile | 3 +-- ueforth/site/ESP32forth.html | 2 +- ueforth/site/linux.html | 2 +- ueforth/site/windows.html | 2 +- ueforth/tools/webindex.py | 2 ++ 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ueforth/Makefile b/ueforth/Makefile index 89c907a..e65c833 100644 --- a/ueforth/Makefile +++ b/ueforth/Makefile @@ -330,8 +330,7 @@ publish-index: | $(GEN) $(GSUTIL) ls gs://eforth/releases | tools/webindex.py >$(GEN)/archive.html $(GSUTIL_CP) \ $(GEN)/archive.html \ - gs://eforth/releases/index.html - $(GSUTIL) web set -m index.html -e 404.html gs://eforth + gs://eforth/releases/archive.html publish: publish-esp32 publish-linux publish-windows publish-index diff --git a/ueforth/site/ESP32forth.html b/ueforth/site/ESP32forth.html index 77615b5..e5e7ec2 100644 --- a/ueforth/site/ESP32forth.html +++ b/ueforth/site/ESP32forth.html @@ -29,7 +29,7 @@

-Release Archive +Release Archive - Prior Releases

diff --git a/ueforth/site/linux.html b/ueforth/site/linux.html index b3c5d03..2111811 100644 --- a/ueforth/site/linux.html +++ b/ueforth/site/linux.html @@ -28,7 +28,7 @@


-Release Archive +Release Archive - Prior Releases

diff --git a/ueforth/site/windows.html b/ueforth/site/windows.html index 3bad053..88a7271 100644 --- a/ueforth/site/windows.html +++ b/ueforth/site/windows.html @@ -32,7 +32,7 @@


-Release Archive +Release Archive - Prior Releases

diff --git a/ueforth/tools/webindex.py b/ueforth/tools/webindex.py index 862b2a9..5db169a 100644 --- a/ueforth/tools/webindex.py +++ b/ueforth/tools/webindex.py @@ -13,4 +13,6 @@ sys.stdout.write(""" for line in sys.stdin.read().splitlines(): url = line.replace('gs://eforth/', 'https://eforth.storage.googleapis.com/') name = line.replace('gs://eforth/releases/', '') + if name == 'archive.html': + continue sys.stdout.write('%s
\n' % (name, url))