automatically grab version number from website

This commit is contained in:
shelldweller 2023-10-03 08:12:04 -05:00
parent 48254ced7b
commit d72e608eac
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=newmoon
VERSION=${VERSION:-32.4.0.1}
#VERSION=${VERSION:-32.4.0.1}
VERSION=${VERSION:-$(lynx -dump -width=256 https://www.palemoon.org/ | sed -n '/Top news/{n;n;p}' | cut -d " " -f 6)}
SRCNAM1=${SRCNAM1:-$PRGNAM-${VERSION}_Release}
#SRCNAM2=${SRCNAM2:-uxp-RB_20230320}
BUILD=${BUILD:-1}