fix: correct Gitea API URL in upload-release.sh
The Gitea server hostname is gitea-lxc.moon-dragon.us not gitea.moon-dragon.us. curl exit status 6 = Could not resolve host.
This commit is contained in:
2
scripts/upload-release.sh
Executable file → Normal file
2
scripts/upload-release.sh
Executable file → Normal file
@ -12,7 +12,7 @@ set -e
|
|||||||
TAG_NAME="${1:?Usage: upload-release.sh <tag_name> <file_path>}"
|
TAG_NAME="${1:?Usage: upload-release.sh <tag_name> <file_path>}"
|
||||||
FILE_PATH="${2}"
|
FILE_PATH="${2}"
|
||||||
|
|
||||||
GITEA_API="${GITEA_API:-https://gitea.moon-dragon.us/api/v1}"
|
GITEA_API="${GITEA_API:-https://gitea-lxc.moon-dragon.us/api/v1}"
|
||||||
REPO="echo/linux_patch_api"
|
REPO="echo/linux_patch_api"
|
||||||
|
|
||||||
if [ -z "$GITEA_TOKEN" ]; then
|
if [ -z "$GITEA_TOKEN" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user