diff --git a/README.md b/README.md index d8ad6a2..8e4dcf6 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ You can download and install the TUXEDO Keyboard .deb Package from http://deb.tu Download and double-click the `.deb` package from the [releases](https://github.com/webketje/tuxedo-backlight-control/releases/latest), or run ``` -dpkg -i tuxedo-backlight-control_0.7-1_amd64.deb +dpkg -i tuxedo-backlight-control_0.8.0-1_amd64.deb ``` from the folder where you downloaded it. @@ -109,7 +109,7 @@ from the folder where you downloaded it. Download the `.pkg.tar.xz` package from the [releases](https://github.com/webketje/tuxedo-backlight-control/releases/latest), and run ``` -pacman -U tuxedo-backlight-control-0.7-1.pkg.tar.xz +pacman -U tuxedo-backlight-control-0.8.0-1.pkg.tar.xz ``` from the folder where you downloaded it. @@ -161,3 +161,19 @@ unlink /etc/bash_completion.d/backlight ``` +#### Maintenance + +**Test locally** + +The `backlight` utility can be run directly from the repo root as `$PWD/src/usr/share/tuxedo-backlight-control/backlight.py` for quick tests + +**Run pylint** + +Run `bin/pylint` + +**Create a new release** + +1. Change all references to <version> (readme, python, help) +2. Run `bin/pack` +3. Create release on GH and attach to generated archives in `dist` + diff --git a/bin/pack b/bin/pack index e18bb9e..45c726d 100755 --- a/bin/pack +++ b/bin/pack @@ -7,7 +7,7 @@ else fi pkg='tuxedo-backlight-control' -ver='0.7' +ver='0.8.0' maintainer='Kevin Van Lierde ' url='https://github.com/webketje/tuxedo-backlight-control' prerm='../build/DEBIAN/prerm' diff --git a/build/ARCH/.SRCINFO b/build/ARCH/.SRCINFO index a497504..ad5d2af 100644 --- a/build/ARCH/.SRCINFO +++ b/build/ARCH/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tuxedo-backlight-control-git pkgdesc = GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI. - pkgver = 0.7.r14.gde724d7 + pkgver = 0.8.0.r1.gde724d7 pkgrel = 2 url = https://github.com/webketje/tuxedo-backlight-control arch = x86_64 diff --git a/build/ARCH/PKGBUILD b/build/ARCH/PKGBUILD index f6a21c0..5bae87d 100644 --- a/build/ARCH/PKGBUILD +++ b/build/ARCH/PKGBUILD @@ -5,7 +5,7 @@ _pkgname='tuxedo-backlight-control' pkgname="${_pkgname}-git" -pkgver=0.7.r14.gde724d7 +pkgver=0.8.0.r1.gde724d7 pkgrel=2 arch=('x86_64') license=('MIT') diff --git a/build/DEBIAN/control b/build/DEBIAN/control index 41aa59d..32fa8f4 100755 --- a/build/DEBIAN/control +++ b/build/DEBIAN/control @@ -1,6 +1,6 @@ Source: tuxedo-backlight-control Package: tuxedo-backlight-control -Version: 0.6 +Version: 0.8.0 Maintainer: Kevin Van Lierde Architecture: all Description: Tuxedo Backlight Ctrl diff --git a/src/usr/share/tuxedo-backlight-control/backlight_control.py b/src/usr/share/tuxedo-backlight-control/backlight_control.py index bc888d6..3df9869 100644 --- a/src/usr/share/tuxedo-backlight-control/backlight_control.py +++ b/src/usr/share/tuxedo-backlight-control/backlight_control.py @@ -19,7 +19,7 @@ class BacklightControl(): DEVICE_PATH = '/sys/devices/platform/tuxedo_keyboard/' MODULE_PATH = '/sys/module/tuxedo_keyboard' - VERSION = '0.7' + VERSION = '0.8.0' modes = ( 'color', diff --git a/src/usr/share/tuxedo-backlight-control/help.txt b/src/usr/share/tuxedo-backlight-control/help.txt index e43b3b6..0677b88 100644 --- a/src/usr/share/tuxedo-backlight-control/help.txt +++ b/src/usr/share/tuxedo-backlight-control/help.txt @@ -1,5 +1,5 @@ -TUXEDO Backlight Control - v0.7 - 2020-08-14 +TUXEDO Backlight Control - v0.8.0 - 2022-02-05 By Kevin Van Lierde Usage: