diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-11-26 13:51:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-11-26 13:51:03 -0200 |
commit | 9594510d81e582327b70ab62c9214d5c3cdc41b8 (patch) | |
tree | 485945fc959fe938d8fda749149d2c57767c427b /Makefile | |
parent | 00dbdc632128a719de9adfab62ba7380620dd964 (diff) | |
download | keyringer-9594510d81e582327b70ab62c9214d5c3cdc41b8.tar.gz keyringer-9594510d81e582327b70ab62c9214d5c3cdc41b8.tar.bz2 |
Adding 'release' Makefile target for a cleaner workflow
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -52,3 +52,11 @@ build_man: tarball: git archive --prefix=keyringer-$(VERSION)/ --format=tar HEAD | bzip2 >../tarballs/keyringer-$(VERSION).tar.bz2 + +release: + @make build_man + git commit -a -m "Keyringer $(VERSION)" + git tag -s $(VERSION) -m "Keyringer $(VERSION)" + @make tarball + gpg --armor --detach-sign --output ../tarballs/keyringer-$(VERSION).tar.bz2.asc ../tarballs/keyringer-$(VERSION).tar.bz2 + scp ../tarballs/keyringer-$(VERSION).tar.bz2* keyringer:/var/sites/keyringer/releases/ |