Skip to content

Commit

Permalink
Also checkout /sitemap.xml during release
Browse files Browse the repository at this point in the history
Fixes pmd#1328
  • Loading branch information
adangel committed Nov 25, 2018
1 parent 56fecb5 commit 1f76eb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ mkdir pmd.github.io
git config user.email "[email protected]"
git config core.sparsecheckout true
git remote add origin [email protected]:pmd/pmd.github.io.git
echo "latest/" > .git/info/sparse-checkout
echo "/latest/" > .git/info/sparse-checkout
echo "/sitemap.xml" >> .git/info/sparse-checkout
git pull --depth=1 origin master
log_info "Copying documentation from ../docs/pmd-doc-${RELEASE_VERSION}/ to pmd-${RELEASE_VERSION}/ ..."
rsync -ah --stats ../docs/pmd-doc-${RELEASE_VERSION}/ pmd-${RELEASE_VERSION}/
Expand Down
1 change: 1 addition & 0 deletions docs/pages/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This is a {{ site.pmd.release_type }} release.
* all
* [#1284](https://github.com/pmd/pmd/issues/1284): \[doc] Keep record of every currently deprecated API
* [#1318](https://github.com/pmd/pmd/issues/1318): \[test] Kotlin DSL to ease test writing
* [#1328](https://github.com/pmd/pmd/issues/1328): \[ci] Building docs for release fails
* [#1341](https://github.com/pmd/pmd/issues/1341): \[doc] Documentation Error with Regex Properties
* java
* [#1460](https://github.com/pmd/pmd/issues/1460): \[java] Intermittent PMD failure : PMD processing errors while no violations reported
Expand Down

0 comments on commit 1f76eb0

Please sign in to comment.