update versions
This commit is contained in:
parent
8da4693b9f
commit
d6ac2b56c1
10 changed files with 15 additions and 12 deletions
|
@ -1,18 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=gotify
|
||||
VERSION=2.1.5
|
||||
VERSION=2.1.6
|
||||
GIT_VERSION=v$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=6
|
||||
DEPOT=https://github.com/gotify/server.git
|
||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||
|
||||
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||
|
||||
envinit() {
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
apt install -y --no-install-recommends build-essential nodejs yarn
|
||||
install_package_dependency
|
||||
install_go
|
||||
}
|
||||
|
||||
|
@ -31,6 +33,7 @@ makedeb(){
|
|||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
cp /tmp/${APP}/gotify-server ${PATH_DEB}/usr/bin/
|
||||
chmod +x ${PATH_DEB}/usr/bin/gotify-server
|
||||
cp /tmp/${APP}/config.example.yml ${PATH_DEB}/etc/gotify/config.yml
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
|
|
|
@ -7,7 +7,7 @@ After=network.target
|
|||
User=gotify
|
||||
Group=gotify
|
||||
ExecStart=/usr/bin/gotify-server
|
||||
WorkingDirectory=/var/lib/gotify-server
|
||||
WorkingDirectory=/var/lib/gotify
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue