summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-03-18 18:52:21 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-03-18 18:52:21 -0400
commit8518a790cb2a20a5512dc0f2b6af53bd0d625f41 (patch)
tree1fc3c0e412938c686290d8da6509e85434109d12
parent7620af7d371302600c58f422ccdf496b2fbb1c46 (diff)
Add 'make publish' target.
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3cfb162..22e6d4d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,3 +45,8 @@ EXTRA_DIST = \
pre-inst-env.in
dist_bin_SCRIPTS = scripts/srt2vtt
+
+publish: distcheck
+ gpg --sign --detach-sign --armor --yes srt2vtt-$(VERSION).tar.gz && \
+ scp srt2vtt-$(VERSION).tar.gz srt2vtt-$(VERSION).tar.gz.asc \
+ publish@dthompson.us:/var/www/files/srt2vtt/