update version
This commit is contained in:
parent
f2f96c288b
commit
1ba5c25f9a
7 changed files with 34 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.108.0-b.16
|
||||
VERSION=0.108.0-b.18
|
||||
APP=adguardhome
|
||||
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
@ -9,7 +9,15 @@ DEBIAN_VERSION_CODENAME=bullseye
|
|||
IMAGE_SIZE=4
|
||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||
|
||||
STEP="base_package_upgrade configure_depot_yarn configure_depot_nodejs install_package_dependency install_go get_git_source build makedeb"
|
||||
main(){
|
||||
base_package_upgrade
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
install_package_dependency
|
||||
install_go
|
||||
get_git_source build
|
||||
makedeb
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/${APP}
|
||||
|
|
|
@ -7,12 +7,19 @@ GIT_VERSION=v${VERSION}
|
|||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=6
|
||||
PACKAGE_DEPENDENCY="build-essential nodejs"
|
||||
|
||||
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||
main(){
|
||||
base_package_upgrade
|
||||
envinit
|
||||
get_git_source
|
||||
build
|
||||
makedeb
|
||||
}
|
||||
|
||||
envinit() {
|
||||
configure_depot_nodejs
|
||||
apt install -y --no-install-recommends build-essential nodejs
|
||||
install_package_dependency
|
||||
install_go
|
||||
wget -qO - https://get.pnpm.io/install.sh | sh -
|
||||
}
|
||||
|
|
|
@ -27,8 +27,6 @@ build() {
|
|||
electron-builder --linux dir --x64 -p never
|
||||
}
|
||||
|
||||
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
|
|
|
@ -25,8 +25,9 @@ envinit() {
|
|||
|
||||
build() {
|
||||
cd /tmp/${APP}
|
||||
yarn install
|
||||
yarn dist
|
||||
yarn
|
||||
yarn bootstrap
|
||||
yarn build
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
|
|
|
@ -7,13 +7,20 @@ GIT_VERSION=v${VERSION}
|
|||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=4
|
||||
PACKAGE_DEPENDENCY="yarn nodejs"
|
||||
|
||||
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||
main(){
|
||||
base_package_upgrade
|
||||
envinit
|
||||
get_git_source
|
||||
build
|
||||
makedeb
|
||||
}
|
||||
|
||||
envinit() {
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
apt install -y --no-install-recommends yarn nodejs
|
||||
install_package_dependency
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -27,6 +34,7 @@ makedeb(){
|
|||
|
||||
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
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.7.4
|
||||
VERSION=2.9.1
|
||||
APP=joplin-server
|
||||
GIT_VERSION=server-v${VERSION}
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
|
|
@ -7,7 +7,7 @@ GIT_VERSION=v$VERSION
|
|||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=10
|
||||
PACKAGE_DEPENDENCY="build-essential openjdk-17-jdk curl nodejs yarn"
|
||||
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
|
||||
|
||||
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||
|
||||
|
|
Loading…
Reference in a new issue