This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/causeway-site.git
commit 2989eae42baa47c4f0b364db5e739acd96a408d5 Author: danhaywood <[email protected]> AuthorDate: Wed Jan 3 10:00:41 2024 +0000 adds copyover2.sh as a variant of copyover.sh --- copyover.sh | 12 ++++++++++-- copyover.sh => copyover2.sh | 8 ++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/copyover.sh b/copyover.sh index 6dc00f063..72b724f29 100644 --- a/copyover.sh +++ b/copyover.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# +# This script assumes that the git repos have been checked out alongside each other: +# +# github/apache/causeway +# github/apache/causeway-site +# + pushd content for a in $(ls -1 | grep -v schema | grep -v versions) do @@ -6,8 +14,8 @@ do done popd -pushd ../../causeway/master -cp -Rf antora/target/site/* ../../causeway-site/asf-site/content/. +pushd ../causeway +cp -Rf antora/target/site/* ../causeway-site/content/. popd git add . diff --git a/copyover.sh b/copyover2.sh similarity index 52% copy from copyover.sh copy to copyover2.sh index 6dc00f063..663df30dc 100644 --- a/copyover.sh +++ b/copyover2.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash + +# +# This variant of copyover.sh assumes that the git repos have been checked out with an additional directory for the worktree. +# +# github/apache/causeway/master +# github/apache/causeway-site/asf-site +# + pushd content for a in $(ls -1 | grep -v schema | grep -v versions) do
