update version

This commit is contained in:
thomas 2022-10-30 07:44:48 +01:00
parent e0c4c37238
commit 51e86e6b36
4 changed files with 11 additions and 10 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.11.10
VERSION=1.11.12
APP=element-web
DEPOT=https://github.com/vector-im/element-web.git
GIT_VERSION=v${VERSION}
@ -32,7 +32,7 @@ build() {
makedeb(){
PATH_DEB=/tmp/src/rootfs
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}.tar.gz --strip-components=1 -C ${PATH_DEB}/usr/share/element-web/
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}*.tar.gz --strip-components=1 -C ${PATH_DEB}/usr/share/element-web/
cp /tmp/${APP}/config.sample.json ${PATH_DEB}/etc/element-web/config.json
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control