Pārlūkot izejas kodu

build: Keep CNAME file when updating gh-pages branch

The CNAME file on the gh-pages branch is used to link the gh-pages
to the gitblit.com domain. So it needs to stay around when updating
the gh-pages branch with new documentation pages.
This is possible since Moxie 0.10.0 with a new `keep` sub-element.
pull/1452/head
Florian Zschocke pirms 1 gada
vecāks
revīzija
e45fe06944
1 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. 6
    2
      build.xml

+ 6
- 2
build.xml Parādīt failu

@@ -722,9 +722,13 @@
Update the gh-pages branch with the current site
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<target name="updateGhPages">
<target name="updateGhPages" depends="prepare">
<!-- Build gh-pages branch -->
<mx:ghpages repositorydir="${basedir}" obliterate="true" />
<mx:ghpages repositorydir="${basedir}" obliterate="true">
<keep>
<file name="CNAME"/>
</keep>
</mx:ghpages>
</target>

Notiek ielāde…
Atcelt
Saglabāt