diff options
author | David Thompson <dthompson2@worcester.edu> | 2024-02-19 10:26:27 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-02-19 10:26:27 -0500 |
commit | be456fa6b7a9a44b95be51995c98ecfee6b13a30 (patch) | |
tree | 8f96ed6d7779f6922619d28dca1b616851274e40 /Makefile.am | |
parent | b90f239791e87e4ef8a816eb402f654ed9ba9d52 (diff) |
make: Add automation for publishing release docs.v0.3.0
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index dece665..1c08890 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,7 +126,13 @@ CLEANFILES = \ $(GOBJECTS) \ $(TESTS:tests/%.scm=%.log) -publish: distcheck +publish_tarball: distcheck gpg --sign --detach-sign --armor --yes haunt-$(VERSION).tar.gz && \ scp haunt-$(VERSION).tar.gz haunt-$(VERSION).tar.gz.asc \ - publish@dthompson.us:/var/www/files/haunt/ + publish@dthompson.us:/var/www/files/releases/haunt/ + +publish_docs: html + scp -r doc/haunt.html publish@dthompson.us:/var/www/files/docs/haunt/$(VERSION) && \ + ssh publish@dthompson.us ln -sfn /var/www/files/docs/haunt/$(VERSION) /var/www/files/docs/haunt/latest + +publish: publish_tarball publish_docs |