ChangeNotes

change to curl -s -r 0-1000
This commit is contained in:
2025-01-06 09:28:09 +01:00
parent bdb26651b1
commit 9166fe0e8b

View File

@@ -31,7 +31,7 @@ RawUrl="https://x-access-token:$GITHUB_TOKEN@raw.githubusercontent.com/Bruno21/b
### Check if there's a new release of the script:
LatestRelease="$(curl -s -r 0-50 $RawUrl | sed -n "/VERSION/s/VERSION=//p" | tr -d '"')"
#LatestChanges="$(curl -s -r 0-200 $RawUrl | sed -n "/ChangeNotes/s/### ChangeNotes: //p")"
LatestChanges="$(curl -s -r 0-500 $RawUrl | sed -n "/ChangeNotes/s/# ChangeNotes: //p")"
LatestChanges="$(curl -s -r 0-1000 $RawUrl | sed -n "/ChangeNotes/s/# ChangeNotes: //p")"
#[[ $LatestRelease != $VERSION ]] && new="($LatestRelease)" || new=""