Update version element-web metabase zigbee2mqtt
This commit is contained in:
parent
a36f18bb86
commit
9de0f839b6
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.10.7
|
VERSION=1.10.8
|
||||||
RELEASE=3
|
RELEASE=1
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.42.3
|
VERSION=0.42.4
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,43 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=1.25.0
|
||||||
|
RELEASE=1
|
||||||
|
|
||||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||||
|
|
||||||
APP=zigbee2mqtt
|
APP=zigbee2mqtt
|
||||||
VERSION=1.24.0
|
DEPOT=https://github.com/Koenkk/zigbee2mqtt.git
|
||||||
GIT_VERSION=$VERSION
|
GIT_VERSION=${VERSION}
|
||||||
DEB_VERSION=$VERSION-3
|
DEB_VERSION=${VERSION}-${RELEASE}
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=
|
IMAGE_SIZE=2
|
||||||
|
|
||||||
STEP="envinit prebuild build makedeb"
|
STEP="envinit prebuild build makedeb"
|
||||||
|
|
||||||
envinit() {
|
envinit() {
|
||||||
apt install -y --no-install-recommends wget ca-certificates nodejs npm git make g++ gcc fakeroot dpkg
|
if [ $(dpkg -l | grep -e 'ii nodejs' | wc -l) -eq 1 ];
|
||||||
|
then
|
||||||
|
apt-get update
|
||||||
|
apt-get dist-upgrade -y
|
||||||
|
else
|
||||||
|
apt install -y --no-install-recommends wget ca-certificates nodejs npm git make g++ gcc fakeroot dpkg
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
prebuild(){
|
prebuild(){
|
||||||
GIT_VERSION=$1
|
[ -e /tmp/git ] && rm -fr /tmp/git
|
||||||
git clone --depth 1 -b ${GIT_VERSION} https://github.com/Koenkk/zigbee2mqtt.git /tmp/zigbee2mqtt
|
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
|
||||||
|
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
|
||||||
|
cp -r /tmp/git/. /tmp/${APP}
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/zigbee2mqtt/
|
cd /tmp/${APP}
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
}
|
}
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
GIT_VERSION=$1
|
|
||||||
DEB_VERSION=$2
|
|
||||||
PATH_DEB=/tmp/src/rootfs
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
cp -fr /tmp/zigbee2mqtt/data/configuration.yaml ${PATH_DEB}/etc/zigbee2mqtt/configuration.yaml
|
cp -fr /tmp/zigbee2mqtt/data/configuration.yaml ${PATH_DEB}/etc/zigbee2mqtt/configuration.yaml
|
||||||
|
|
Loading…
Reference in New Issue