Merge pull request #91 from cyberdork33/main
Fix NPM version capture for alpine
This commit is contained in:
commit
b5da70335b
@ -102,7 +102,7 @@ runcmd pip3 install --no-cache-dir cffi certbot
|
||||
log "Checking for latest NPM release"
|
||||
# Get latest version information for nginx-proxy-manager
|
||||
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=$(basename $(cat ./_latest_release | grep -wo "expanded_assets/v.*\d") | cut -d'v' -f2)
|
||||
|
||||
# Download nginx-proxy-manager source
|
||||
log "Downloading NPM v$_latest_version"
|
||||
|
Loading…
Reference in New Issue
Block a user