You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2016/05/07 00:35:45 UTC
[14/22] incubator-streams-master git commit: add bit about deleting
existing site
add bit about deleting existing site
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/commit/9cb990c6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/tree/9cb990c6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/diff/9cb990c6
Branch: refs/heads/master
Commit: 9cb990c6683cb7c293c3f2b8b2aa8de9093cad59
Parents: a3b44b9
Author: Steve Blackmon @steveblackmon <sb...@apache.org>
Authored: Mon Apr 25 15:23:21 2016 -0500
Committer: Steve Blackmon @steveblackmon <sb...@apache.org>
Committed: Mon Apr 25 15:23:21 2016 -0500
----------------------------------------------------------------------
src/site/markdown/website.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams-master/blob/9cb990c6/src/site/markdown/website.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/website.md b/src/site/markdown/website.md
index 2e2c8f2..cca00a5 100644
--- a/src/site/markdown/website.md
+++ b/src/site/markdown/website.md
@@ -63,7 +63,16 @@ The first time a specific site is being published for this version, you must cre
> content$ mkdir site/${project.version}/${project.artifactId}
> content$ svn add site/${project.version}/${project.artifactId}
> content$ svn commit -m "svn add site/${project.version}/${project.artifactId}"
-
+
+If you are published over an existing snapshot, you must first remove the existing version and recreate an empty directory.
+
+> content$ rm -rf site/${project.version}/${project.artifactId}
+> content$ svn delete site/${project.version}/${project.artifactId}
+> content$ svn commit -m "svn delete site/${project.version}/${project.artifactId}"
+> content$ mkdir site/${project.version}/${project.artifactId}
+> content$ svn add site/${project.version}/${project.artifactId}
+> content$ svn commit -m "svn add site/${project.version}/${project.artifactId}"
+
The folder must exist and be empty for the publish steps to succeed.
Repositories should always be built and published in the following order: