From 8518a790cb2a20a5512dc0f2b6af53bd0d625f41 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 18 Mar 2021 18:52:21 -0400 Subject: Add 'make publish' target. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- cgit v1.2.3