automatically grab version number from website
This commit is contained in:
parent
48254ced7b
commit
d72e608eac
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue