]> granicus.if.org Git - docbook-dsssl/commitdiff
Build docs as part of the CI build. travis
authorStefan Seefeld <stefan@seefeld.name>
Fri, 16 Feb 2018 17:42:50 +0000 (12:42 -0500)
committerStefan Seefeld <stefan@seefeld.name>
Sat, 17 Feb 2018 01:05:26 +0000 (20:05 -0500)
.travis.yml
.travis/publish-release.sh

index 34e6b089a5208e2d7dbd29b1aaa17689c4e70741..d34a44f090294e6767d3596b2101ce6fa5fbc445 100644 (file)
@@ -30,6 +30,7 @@ script:
 - make check
 - make dist
 - export VERSION=$(make version)
+- tar xvf dist/docbook-xsl-doc-snapshot.tar.bz2
 
 after_success:
 # Update CDN
index 81e5a95d977deb10540fa2e264c1b77bbaee00fe..1bd1548be6f442b9beb62718efc7f9cde5a0ed7d 100755 (executable)
@@ -32,6 +32,9 @@ rm -rf cdn/release/xsl/current
 rm -rf cdn/release/xsl-nons/current
 cp -a cdn/release/xsl/$VERSION cdn/release/xsl/current
 cp -a cdn/release/xsl-nons/$VERSION cdn/release/xsl-nons/current
+# copy documentation
+tar xvf dist/docbook-xsl-doc-$VERSION.tar.bz2
+cp -a docbook-xsl-$VERSION/doc cdn/release/xsl/$VERSION/
 
 # If there are no changes, bail out.
 # (Note that this doesn't detect additions.)