summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5c59d97..54dcbbe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ config.h
mpd-notification
README.html
version.h
+mpd-notification-*.tar.xz
+mpd-notification-*.tar.xz.asc
diff --git a/Makefile b/Makefile
index 1d059c7..e71ea33 100644
--- a/Makefile
+++ b/Makefile
@@ -44,3 +44,7 @@ clean:
distclean:
$(RM) -f *.o *~ README.html mpd-notification version.h config.h
+
+release:
+ git archive --format=tar.xz --prefix=mpd-notification-$(VERSION)/ $(VERSION) > mpd-notification-$(VERSION).tar.xz
+ gpg -ab mpd-notification-$(VERSION).tar.xz