From 0fcce616ac836c9480c1cb9ecd2356dd5abb5e01 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 11 Jul 2023 21:14:43 +0200 Subject: [PATCH] Remove "download page" generator This was historically used to generate https://go.mozilla.org/sops/, which is not under our control. Signed-off-by: Hidde Beydals --- Makefile | 3 --- make_download_page.sh | 11 ----------- 2 files changed, 14 deletions(-) delete mode 100644 make_download_page.sh diff --git a/Makefile b/Makefile index e97b17bc7b..32f06f7371 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,4 @@ else -o tmppkg/sops-$$(git describe --abbrev=0 --tags).dmg tmpdmg endif -download-index: - bash make_download_page.sh - .PHONY: all test generate clean vendor functional-tests diff --git a/make_download_page.sh b/make_download_page.sh deleted file mode 100644 index e773cb5737..0000000000 --- a/make_download_page.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -[ ! -d dist ] && mkdir dist -echo -e "\nSops download page>\n\n

Sops download page

\n

github.com/getsops/sops/v3

\n" > index.html -IFS=$'\n' -for dist in $(aws s3 ls s3://go.mozilla.org/sops/dist/ | grep -P "deb|rpm"); do - ts=$(echo $dist|awk '{print $1,$2}') - size=$(echo $dist|awk '{print $3}') - pkg=$(echo $dist|awk '{print $4}') - echo -e "" >> index.html -done -echo -e "
$ts$size$pkg
\n\n" >> index.html