diff --git a/.travis.yml b/.travis.yml index baa578f3d..ed2819b7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,7 @@ after_success: mkdir dist mv *.deb *.rpm dist/ aws s3 sync dist/ s3://go.mozilla.org/sops/dist/ --acl public-read + make download-index + mv index.html dist/ + aws s3 sync dist/ s3://go.mozilla.org/sops/dist/ --acl public-read fi diff --git a/Makefile b/Makefile index c191e71a8..37fe8aac4 100644 --- a/Makefile +++ b/Makefile @@ -88,4 +88,7 @@ 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 new file mode 100644 index 000000000..a3b7d23f3 --- /dev/null +++ b/make_download_page.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +[ ! -d dist ] && mkdir dist +echo -e "\n
| $ts | $size | $pkg |