new version element-web bitwarden-desktop
This commit is contained in:
parent
8d3ccf5fbd
commit
5012543e4c
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2022.6.0
|
||||
VERSION=2022.6.1
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
|
@ -12,7 +12,6 @@ DEBIAN_VERSION_CODENAME=bullseye
|
|||
IMAGE_SIZE=10
|
||||
|
||||
STEP="envinit prebuild build makedeb"
|
||||
STEP="envinit prebuild"
|
||||
|
||||
envinit() {
|
||||
apt-get update
|
||||
|
@ -26,10 +25,8 @@ envinit() {
|
|||
}
|
||||
|
||||
prebuild(){
|
||||
[ -e /tmp/git ] && rm -fr /tmp/git
|
||||
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
|
||||
cp -r /tmp/git/. /tmp/${APP}
|
||||
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.10.15
|
||||
VERSION=1.11.0
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
|
@ -29,10 +29,8 @@ envinit() {
|
|||
}
|
||||
|
||||
prebuild(){
|
||||
[ -e /tmp/git ] && rm -fr /tmp/git
|
||||
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
|
||||
cp -r /tmp/git/. /tmp/${APP}
|
||||
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
|
||||
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -44,7 +42,7 @@ build() {
|
|||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}-dirty.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
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
|
|
Loading…
Reference in New Issue