From e1892ff9561add0a9417cb522530095bfb76850a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 4 May 2016 14:05:33 +0200 Subject: neue Version: 1.0.2 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c9ab06d..da68d41 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ all: hardlinkedbackups.8 backup lastBackups %: %.in sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@ -.PHONY: install clean +.PHONY: install dist clean install: all install -D -m0755 -t $(DESTDIR)$(BINDIR) backup lastBackups @@ -42,4 +42,11 @@ install: all clean: rm -f backup lastBackups hardlinkedbackups.8 +dist: clean + git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true + git tag -d v$(VERSION) && git push origin --delete v$(VERSION) || true + git tag v$(VERSION) + git push --force + git push --tags + # End of file -- cgit v1.2.3