ChangeNotes
change to curl -s -r 0-1000
This commit is contained in:
@@ -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:
|
### 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 '"')"
|
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-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=""
|
#[[ $LatestRelease != $VERSION ]] && new="($LatestRelease)" || new=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user