From: Michael Smith Date: Mon, 23 Jul 2007 08:17:10 +0000 (+0000) Subject: Added script for posting release announcements by e-mail (to X-Git-Tag: release/1.79.1~6^2~1881 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da9b0f0f7e9b9dffa71292ec3a0663f4f9cd90f5;p=docbook-dsssl Added script for posting release announcements by e-mail (to docbook-apps, etc.) --- diff --git a/releasetools/release-announce b/releasetools/release-announce new file mode 100755 index 000000000..3d8cbb552 --- /dev/null +++ b/releasetools/release-announce @@ -0,0 +1,70 @@ +#!/bin/sh +# $Id$ + +# release-announce VERSION RECIPIENTS +# e.g., release-announce 1.73.0 docbook-apps@lists.oasis-open.org + +version=$1 +recipients=$2 + +rm -f /tmp/HEADER.txt +rm -f /tmp/HEADER-NS.txt +rm -f /tmp/BODY-DOCS.txt + +cat <<- EOF > /tmp/HEADER.txt +From: DocBook Project +To: $recipients +Subject: ANNOUNCE: DocBook XSL $version released + +The DocBook Project wishes to announce that version $version of the +DocBook XSL Stylesheets is now available for download from the +project website: + + http://docbook.sf.net/files/xsl/latest + http://sourceforge.net/projects/docbook + +The DocBook XSL Stylesheets are designed for processing +non-namespaced (DocBook 4 or earlier) documents. + +EOF + +cat <<- EOF > /tmp/HEADER-NS.txt +From: DocBook Project +To: $recipients +Subject: ANNOUNCE: DocBook XSL-NS $version released + +The DocBook Project wishes to announce that version $version of the +DocBook XSL-NS Stylesheets is now available for download from the +project website: + + http://docbook.sf.net/files/xsl-ns/latest + http://sourceforge.net/projects/docbook + +The DocBook XSL-NS Stylesheets are designed for processing +namespaced (DocBook 5) documents. + +EOF + +cat <<- EOF > /tmp/BODY-DOCS.txt +The reference docs are packaged separately and downloadable from: + + http://docbook.sf.net/files/xsl-doc/latest + +The docs are also available online: + + http://docbook.sf.net/release/xsl/current/doc/reference.html + http://docbook.sf.net/release/xsl/current/doc/reference.pdf + http://docbook.sf.net/release/xsl/current/doc/reference.txt + +The release notes are included below. HTML and PDF versions of the +release notes are also available: + + http://docbook.sf.net/release/xsl/current/RELEASE-NOTES.html + http://docbook.sf.net/release/xsl/current/RELEASE-NOTES.pdf + +EOF + +cat /tmp/HEADER.txt /tmp/BODY-DOCS.txt RELEASE-NOTES-PARTIAL.txt \ + | sendmail -v -f docbook-dev@xml-doc.org $recipients +cat /tmp/HEADER-NS.txt /tmp/BODY-DOCS.txt RELEASE-NOTES-PARTIAL.txt \ + | sendmail -v -f docbook-dev@xml-doc.org $recipients