v1.1.4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="v1.1.3"
|
||||
VERSION="v1.1.4"
|
||||
|
||||
### Variables for self updating
|
||||
ScriptArgs=( "$@" )
|
||||
@@ -16,7 +16,7 @@ dotenv () {
|
||||
|
||||
dotenv
|
||||
|
||||
|
||||
### ChangeNotes: 1.1.4 curl 2ko
|
||||
### ChangeNotes: 1.1.3 Won't display Changes notes
|
||||
### ChangeNotes: 1.1.1 Bugfix .env path
|
||||
### ChangeNotes: 1.1 Bugfix when script was run with symlink
|
||||
@@ -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-1000 $RawUrl | sed -n "/ChangeNotes/s/# ChangeNotes: //p")"
|
||||
LatestChanges="$(curl -s -r 0-2000 $RawUrl | sed -n "/ChangeNotes/s/# ChangeNotes: //p")"
|
||||
|
||||
#[[ $LatestRelease != $VERSION ]] && new="($LatestRelease)" || new=""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user