Remove duplicate .root-markers for prepare-docs-for-afs
We've already added this file above, lets skip. Change-Id: I1d59439eb129db337238e55b7e1410f6f33b0430 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
eb72ac2daa
commit
46596a6581
@ -45,7 +45,6 @@
|
||||
# a directory named for the tag, so we move that
|
||||
# directory to the publish location.
|
||||
mv doc/build/html/$tag doc/publish/
|
||||
mv doc/build/html/.root-marker doc/publish/$tag/
|
||||
elif [[ $branch_name = master ]]; then
|
||||
# The above tasks does not rename the output directory, but
|
||||
# we want it to be called "latest".
|
||||
@ -55,7 +54,6 @@
|
||||
# a directory named for the branch, so move that to the
|
||||
# publish location.
|
||||
mv doc/build/html/$(basename $branch_name) doc/publish/
|
||||
mv doc/build/html/.root-marker doc/publish/$(basename $branch_name)
|
||||
elif [[ $branch_name =~ feature/ ]]; then
|
||||
echo "Docs should not be published for feature branches"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user