From 0feb9a21453515e53fbf024fd09455af42d01bf1 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Sat, 28 Feb 2015 13:12:25 -0500 Subject: Add upload script. --- unicode/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'unicode') diff --git a/unicode/Makefile.am b/unicode/Makefile.am index bdb5b1a..a50c9cf 100644 --- a/unicode/Makefile.am +++ b/unicode/Makefile.am @@ -261,6 +261,11 @@ bump.rpm.release: $(PACKAGE).spec <$(PACKAGE).spec >$(PACKAGE).spec.new; \ mv $(PACKAGE).spec.new $(PACKAGE).spec +upload-beta: + test -z "$(SFPASSWD)" && exit 1; exit 0 + rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1 + ~/src/sftools/release.pl mrsam $(SFPASSWD) courier @PACKAGE@-devel `echo @VERSION@|sed 's/.*\(........\)/\1/'` @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig + upload-dist: test -z "$(SFPASSWD)" && exit 1; exit 0 rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1 -- cgit v1.2.3