Update the release URL to the new .org domain

pull/7859/head
Jake Howard 2022-01-11 15:40:04 +00:00 zatwierdzone przez LB (Ben Johnston)
rodzic 5a9761a70f
commit feaf39332f
4 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -90,7 +90,7 @@ Feature releases of Wagtail are released every three months. Selected releases a
#### Nightly releases
To try out the latest features before a release, we also create builds from `main` every night. You can find instructions on how to install the latest nightly release at https://releases.wagtail.io/nightly/index.html
To try out the latest features before a release, we also create builds from `main` every night. You can find instructions on how to install the latest nightly release at https://releases.wagtail.org/nightly/index.html
### Contributing

Wyświetl plik

@ -14,7 +14,7 @@ const initUpgradeNotification = () => {
* "url" : "https://wagtail.io" // Absolute URL to page/file containing release notes or actual package. It's up to you.
* }
*/
const releasesUrl = 'https://releases.wagtail.io/latest.txt';
const releasesUrl = 'https://releases.wagtail.org/latest.txt';
const currentVersion = container.dataset.wagtailVersion;
fetch(releasesUrl).then(response => {

Wyświetl plik

@ -1,7 +1,7 @@
#! /bin/sh
# vim:sw=4 ts=4 et:
BUCKET=releases.wagtail.io
BUCKET=releases.wagtail.org
REGION=eu-west-1
CF_DISTRIBUTION=E283SZ5CB4MDM0

Wyświetl plik

@ -15,13 +15,13 @@ except StopIteration:
print("Uploading", f.name)
s3 = boto3.client('s3')
s3.upload_file(str(f), 'releases.wagtail.io', 'nightly/dist/' + f.name, ExtraArgs={'ACL': 'public-read'})
s3.upload_file(str(f), 'releases.wagtail.org', 'nightly/dist/' + f.name, ExtraArgs={'ACL': 'public-read'})
print("Updating latest.json")
boto3.resource('s3').Object('releases.wagtail.io', 'nightly/latest.json').put(
boto3.resource('s3').Object('releases.wagtail.org', 'nightly/latest.json').put(
ACL='public-read',
Body=json.dumps({
"url": 'https://releases.wagtail.io/nightly/dist/' + f.name,
"url": 'https://releases.wagtail.org/nightly/dist/' + f.name,
})
)