0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 08:48:04 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Felicity Tarnell
8937ffd560 scripts/latest.sh: if file is unchanged, do not exit with an error 2015-05-01 14:07:24 +01:00
Felicity Tarnell
9fa78bf21b scripts/latest.sh: set correct acl on upload 2015-05-01 14:05:17 +01:00
Felicity Tarnell
b0b577e963 scripts/latest.sh: should be TERM here, not EXIT 2015-05-01 13:58:40 +01:00
Felicity Tarnell
20e159d1f8 scripts/latest.sh: script to edit latest.txt
This script supports 'get', 'put' and 'vi' commands to edit the file at
http://releases.wagtail.io/latest.txt.  Usage is fairly straightforward:

$ scripts/latest.sh get my-latest.txt
$ vi my-latest.txt
$ scripts/latest.sh put my-latest.txt

Or, in a single command (equivalent to get, vi and put):

$ scripts/latest.sh vi

'put' will automatically create a CloudFront invalidation, that
typically takes around 15 minutes to fully deploy

TODO: documentation; script to create a template latest.txt based on
      command-line arguments.
2015-05-01 12:29:58 +01:00