loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update upgrade script to use new CDN (#24280)

The upgrade script has to deal with redirects due to pointing to former
CDN, this reduces HTTP calls by 2

setting as skip-changelog, due to it being a contrib script

authored by

techknowlogick and committed by
GitHub
5e389228 6bff6e3a

+3 -3
+3 -3
contrib/upgrade.sh
··· 1 1 #!/usr/bin/env bash 2 2 # This is an update script for gitea installed via the binary distribution 3 - # from dl.gitea.io on linux as systemd service. It performs a backup and updates 3 + # from dl.gitea.com on linux as systemd service. It performs a backup and updates 4 4 # Gitea in place. 5 5 # NOTE: This adds the GPG Signing Key of the Gitea maintainers to the keyring. 6 6 # Depends on: bash, curl, xz, sha256sum. optionally jq, gpg ··· 69 69 # select version to install 70 70 if [[ -z "${giteaversion:-}" ]]; then 71 71 require jq 72 - giteaversion=$(curl --connect-timeout 10 -sL https://dl.gitea.io/gitea/version.json | jq -r .latest.version) 72 + giteaversion=$(curl --connect-timeout 10 -sL https://dl.gitea.com/gitea/version.json | jq -r .latest.version) 73 73 echo "Latest available version is $giteaversion" 74 74 fi 75 75 ··· 91 91 92 92 # download new binary 93 93 binname="gitea-${giteaversion}-${arch}" 94 - binurl="https://dl.gitea.io/gitea/${giteaversion}/${binname}.xz" 94 + binurl="https://dl.gitea.com/gitea/${giteaversion}/${binname}.xz" 95 95 echo "Downloading $binurl..." 96 96 curl --connect-timeout 10 --silent --show-error --fail --location -O "$binurl{,.sha256,.asc}" 97 97