Merge pull request #89 from gragragrab/main
Fix for #88 (version capture)
This commit is contained in:
commit
7c8c2dc8a7
@ -106,7 +106,7 @@ runcmd npm install --global yarn
|
||||
# Get latest version information for nginx-proxy-manager
|
||||
log "Checking for latest NPM release"
|
||||
runcmd 'wget $WGETOPT -O ./_latest_release $NPMURL/releases/latest'
|
||||
_latest_version=$(basename $(cat ./_latest_release | grep -wo "NginxProxyManager/.*.tar.gz") .tar.gz | cut -d'v' -f2)
|
||||
_latest_version=$(cat ./_latest_release | grep -Po '(?<=expanded_assets/v)[^"]+')
|
||||
|
||||
# Download nginx-proxy-manager source
|
||||
log "Downloading NPM v$_latest_version"
|
||||
|
Loading…
Reference in New Issue
Block a user