summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hillenbrand <joehillen@gmail.com>2021-10-08 12:21:47 -0700
committerJoe Hillenbrand <joehillen@gmail.com>2021-10-08 12:21:47 -0700
commit11571861fd756e53a6ecb1a7141b9b9335209f95 (patch)
tree481bc2c2b70a6a5de9764b67c44a3771905cca53
parent1913c5dbc41c6e613c624f78140b4b6d4a05cb46 (diff)
Release 1.4.11.4.1
-rw-r--r--Makefile19
-rw-r--r--PKGBUILD2
-rw-r--r--README.md2
-rw-r--r--VERSION2
-rwxr-xr-xsysz2
5 files changed, 20 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4905e69..e445c92 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,21 @@
-.PHONY: all install clean
+VERSION := $(shell cat VERSION)
+ARCHIVE := sysz-$(VERSION).tar.gz
+.PHONY: all install clean release
all: clean README.md VERSION PKGBUILD
- sed -i -e "s/^SYSZ_VERSION=.*/SYSZ_VERSION=`cat VERSION`/" sysz
- sed -i -e "s/^pkgver=.*/pkgver=`cat VERSION`/" PKGBUILD
+ sed -i -e "s/^SYSZ_VERSION=.*/SYSZ_VERSION=$(VERSION)/" sysz
+ sed -i -e "s/^pkgver=.*/pkgver=$(VERSION)/" PKGBUILD
+
+release: all
+ git commit -am 'Release $(VERSION)'
+ git tag $(VERSION)
+ git push origin $(VERSION)
+ git archive --format=tar.gz -o $(ARCHIVE) --prefix sysz-$(VERSION)/ HEAD
+ sed -i -e "s/^sha256sum=.*/sha256sum=('$(shell sha256sum $(ARCHIVE))')/" PKGBUILD
+ makepkg
+ git commit -am 'Update PKGBUILD'
+ git push orgin master
+
clean:
/bin/rm -f README.md
diff --git a/PKGBUILD b/PKGBUILD
index e2a7eda..5cf27d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Joe Hillenbrand (joehillen) <joehillen@gmail.com>
pkgname=sysz
-pkgver=1.4.0
+pkgver=1.4.1
pkgrel=0
pkgdesc="fzf terminal UI for systemctl"
arch=("any")
diff --git a/README.md b/README.md
index 0872b06..1f326d3 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ A [fzf](https://github.com/junegunn/fzf) terminal UI for systemctl
# Features
-VERSION: 1.4.0
+VERSION: 1.4.1
- See and filter both system and user units simultaneously.
- Supports all unit types.
diff --git a/VERSION b/VERSION
index 88c5fb8..347f583 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.4.0
+1.4.1
diff --git a/sysz b/sysz
index 70bf5cf..214a245 100755
--- a/sysz
+++ b/sysz
@@ -5,7 +5,7 @@ shopt -s lastpipe
shopt -s extglob
PROG=$(basename "$0")
-SYSZ_VERSION=1.4.0
+SYSZ_VERSION=1.4.1
SYSZ_HISTORY=${SYSZ_HISTORY:-${XDG_CACHE_HOME:-~/.cache}/sysz/history}
declare -a STATES