From af2b17b85215bff0b3845b73a65c2edbcf45943c Mon Sep 17 00:00:00 2001 From: Joe Hillenbrand Date: Fri, 8 Oct 2021 12:40:20 -0700 Subject: [PATCH] Release 1.1.1 --- CHANGELOG.md | 11 +++++++++++ Makefile | 21 ++++++++++++++++++--- PKGBUILD | 2 +- README.md | 2 +- VERSION | 2 +- 5 files changed, 32 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 199ef21..29b189b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.1] - 2021-10-08 + +### Added +- Support MSYS2 (#3) + +### Fixed +- Fix when using sudo (#2) +- Ensure that fzf calls bash for previews (#2) + + ## [1.1.0] - 2021-09-02 + ### Changed - Remove unsafe "reload" keybinding `CTRL-r` diff --git a/Makefile b/Makefile index 847b867..915dc81 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,24 @@ -.PHONY: all install clean +VERSION := $(shell cat VERSION) +ARCHIVE := paruz-$(VERSION).tar.gz +.PHONY: all install clean release + +all: clean README.md VERSION PKGBUILD + sed -i -e "s/^PARUZ_VERSION=.*/PARUZ_VERSION=$(VERSION)/" paruz + 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 paruz-$(VERSION)/ HEAD + sed -i -e "s/^sha256sums=.*/sha256sums=('`sha256sum $(ARCHIVE) | cut -d' ' -f1`')/" PKGBUILD + makepkg + git commit -am 'Update PKGBUILD' + git push origin master -all: clean README.md clean: - rm -f README.md + /bin/rm -f README.md README.md: README.sh paruz VERSION ./README.sh diff --git a/PKGBUILD b/PKGBUILD index 6dcf0b3..996c22c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Joe Hillenbrand (joehillen) pkgname=paruz -pkgver=1.1.0 +pkgver=1.1.1 pkgrel=1 pkgdesc="A fzf terminal UI for paru or pacman" arch=("any") diff --git a/README.md b/README.md index 85d16ae..084bdda 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A [fzf](https://github.com/junegunn/fzf) terminal UI for [paru](https://github.com/Morganamilo/paru) (or [pacman](https://wiki.archlinux.org/title/Pacman), if paru is not installed). -VERSION: 1.1.0 +VERSION: 1.1.1 # Usage diff --git a/VERSION b/VERSION index 9084fa2..524cb55 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 +1.1.1