kopia lustrzana https://github.com/wagtail/wagtail
Update the release URL to the new .org domain
rodzic
5a9761a70f
commit
feaf39332f
|
@ -90,7 +90,7 @@ Feature releases of Wagtail are released every three months. Selected releases a
|
||||||
|
|
||||||
#### Nightly releases
|
#### 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
|
### Contributing
|
||||||
|
|
||||||
|
|
|
@ -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.
|
* "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;
|
const currentVersion = container.dataset.wagtailVersion;
|
||||||
|
|
||||||
fetch(releasesUrl).then(response => {
|
fetch(releasesUrl).then(response => {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# vim:sw=4 ts=4 et:
|
# vim:sw=4 ts=4 et:
|
||||||
|
|
||||||
BUCKET=releases.wagtail.io
|
BUCKET=releases.wagtail.org
|
||||||
REGION=eu-west-1
|
REGION=eu-west-1
|
||||||
CF_DISTRIBUTION=E283SZ5CB4MDM0
|
CF_DISTRIBUTION=E283SZ5CB4MDM0
|
||||||
|
|
||||||
|
|
|
@ -15,13 +15,13 @@ except StopIteration:
|
||||||
|
|
||||||
print("Uploading", f.name)
|
print("Uploading", f.name)
|
||||||
s3 = boto3.client('s3')
|
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")
|
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',
|
ACL='public-read',
|
||||||
Body=json.dumps({
|
Body=json.dumps({
|
||||||
"url": 'https://releases.wagtail.io/nightly/dist/' + f.name,
|
"url": 'https://releases.wagtail.org/nightly/dist/' + f.name,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue