Skip to content

Commit

Permalink
Release 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joehillen committed Oct 8, 2021
1 parent 1913c5d commit 1157186
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
19 changes: 16 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.4.1
2 changes: 1 addition & 1 deletion sysz
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1157186

Please sign in to comment.