From ebda68222fe31df8f164ec6d4c161179ac513920 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Wed, 1 Jul 2020 15:28:02 -0700 Subject: [PATCH] Update index.html and automate the process --- README.md | 4 ++-- index.html | 4 ++-- update_index.sh | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100755 update_index.sh diff --git a/README.md b/README.md index bc88974..c1eddc8 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ To sign the rules, see HTTPS Everywhere docs [here](https://github.com/EFForg/ht For the production rules this signing must be done via the official signing ceremony and the existing SD release key (JWK formatted version of the pubkey is in `release-pubkey.jwk`). There is some internal documentation with more detailed instructions on this, ping `@redshiftzero` if you need to do this. -Once you have the signature, place the files to serve in the root of the git tree in this repository,and then update the directory listing in `index.html`. +Once you have the signature, place the files to serve in the root of the git tree in this repository, and then update the directory listing in `index.html` using the `update_index.sh` shell script in this directory. -Commit the resulting `index.html` and all files to be served. +Inspect the diff. If it looks good, commit the resulting `index.html` and all files to be served. Upon merge the ruleset release will be live. diff --git a/index.html b/index.html index 8107008..0bf745e 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - rulesets-signature.1588004096.sha256
+ rulesets-signature.1593528236.sha256
latest-rulesets-timestamp
- default.rulesets.1588004096.gz
+ default.rulesets.1593528236.gz
diff --git a/update_index.sh b/update_index.sh new file mode 100755 index 0000000..1d05cf4 --- /dev/null +++ b/update_index.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e +TIMESTAMP="$(