summaryrefslogtreecommitdiffstats
path: root/unicode/Makefile.am
diff options
context:
space:
mode:
authorSam Varshavchik2015-02-28 13:12:25 -0500
committerSam Varshavchik2015-02-28 13:12:25 -0500
commit0feb9a21453515e53fbf024fd09455af42d01bf1 (patch)
treefdb176d755033cf1ab7976331ba20385e37860a3 /unicode/Makefile.am
parentc7920ad4c0d579af8c2818f6d9f5fec155d9c259 (diff)
downloadcourier-libs-0feb9a21453515e53fbf024fd09455af42d01bf1.tar.bz2
Add upload script.
Diffstat (limited to 'unicode/Makefile.am')
-rw-r--r--unicode/Makefile.am5
1 files changed, 5 insertions, 0 deletions
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