summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-11 22:30:58 +0300
committerDevaev Maxim <[email protected]>2019-10-11 22:49:32 +0300
commit9bfdc164813a6a481df4dfd633f568e78d0b5df1 (patch)
tree70793c45e855926330e59dd1dca672534bd8b879
parent259dc208b2b612e5cb88e8e005083037eedfa4a7 (diff)
Bump version: 1.21 → 1.22v1.22
-rw-r--r--.bumpversion.cfg2
-rw-r--r--PKGBUILD12
-rw-r--r--kvmd/__init__.py2
-rwxr-xr-xsetup.py2
4 files changed, 10 insertions, 8 deletions
diff --git a/.bumpversion.cfg b/.bumpversion.cfg
index f6766c51..fa39b0d1 100644
--- a/.bumpversion.cfg
+++ b/.bumpversion.cfg
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = True
-current_version = 1.21
+current_version = 1.22
parse = (?P<major>\d+)\.(?P<minor>\d+)(\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?)?
serialize =
{major}.{minor}
diff --git a/PKGBUILD b/PKGBUILD
index 8225aed8..52a924ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ for _variant in "${_variants[@]}"; do
pkgname+=(kvmd-platform-$_platform-$_board)
done
pkgbase=kvmd
-pkgver=1.21
+pkgver=1.22
pkgrel=1
pkgdesc="The main Pi-KVM daemon"
url="https://github.com/pikvm/kvmd"
@@ -94,7 +94,7 @@ package_kvmd() {
mkdir -p "$pkgdir/etc/kvmd/nginx/ssl"
chmod 750 "$pkgdir/etc/kvmd/nginx/ssl"
- cp "$_cfg_default/kvmd/nginx"/*.conf "$pkgdir/etc/kvmd/nginx"
+ cp "$_cfg_default/nginx"/*.conf "$pkgdir/etc/kvmd/nginx"
cp "$_cfg_default/kvmd"/*.yaml "$pkgdir/etc/kvmd"
chmod 644 "$pkgdir/etc/kvmd"/*.yaml
@@ -119,15 +119,17 @@ for _variant in "${_variants[@]}"; do
etc/kvmd/main.yaml
)
- cd \"\$srcdir/\$pkgname-build\"
+ cd \"kvmd-\$pkgver\"
mkdir -p \"\$pkgdir/etc\"/{kvmd,sysctl.d,udev/rules.d,modules-load.d}
cp configs/os/sysctl.conf \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\"
cp configs/os/udev/$_platform-$_board.rules \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\"
- cp configs/os/modules-load/$_platform.conf \"\$pkgdir/etc/modules-load.d/kvmd.conf\"
+ if [ -f configs/os/modules-load/$_platform.conf ]; then
+ cp configs/os/modules-load/$_platform.conf \"\$pkgdir/etc/modules-load.d/kvmd.conf\"
+ fi
- cp configs/kvmd/main/$_platform.yaml\" \"\$pkgdir/etc/kvmd/main.yaml\"
+ cp configs/kvmd/main/$_platform.yaml \"\$pkgdir/etc/kvmd/main.yaml\"
chmod 444 \"\$pkgdir/etc/kvmd/main.yaml\"
if [[ $_platform =~ ^.*-hdmi$ ]]; then
diff --git a/kvmd/__init__.py b/kvmd/__init__.py
index 0033dda7..b313366d 100644
--- a/kvmd/__init__.py
+++ b/kvmd/__init__.py
@@ -20,4 +20,4 @@
# ========================================================================== #
-__version__ = "1.21"
+__version__ = "1.22"
diff --git a/setup.py b/setup.py
index eb18fbae..fe604bec 100755
--- a/setup.py
+++ b/setup.py
@@ -67,7 +67,7 @@ def main() -> None:
setup(
name="kvmd",
- version="1.21",
+ version="1.22",
url="https://github.com/pikvm/kvmd",
license="GPLv3",
author="Maxim Devaev",