Skip to content

Commit

Permalink
publish a tag of the documentation on release
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/continuum/trunk@1427649 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
brettporter committed Jan 2, 2013
1 parent 34b7da7 commit b168f2a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions continuum-docs/pom.xml
Expand Up @@ -85,6 +85,39 @@
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>tag</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>tag-publish-site</id>
<configuration>
<executable>svn</executable>
<arguments>
<argument>--non-interactive</argument>
<argument>cp</argument>
<argument>-m"Copy versioned documentation"</argument>
<argument>${svnUrl}</argument>
<argument>https://svn.apache.org/repos/asf/continuum/site-publish/docs/${project.version}</argument>
</arguments>
</configuration>
<phase>site-deploy</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<svnUrl>https://svn.apache.org/repos/asf/continuum/site-publish/docs/latest</svnUrl>
</properties>
Expand Down

0 comments on commit b168f2a

Please sign in to comment.