Skip to content

Commit 972f2cb

Browse files
foo0x29aleebyron
authored andcommitted
Change cp command recursion flag (#522)
1 parent b79c7f7 commit 972f2cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ git clone -b gh-pages "https://${GH_TOKEN}@github.com/facebook/graphql.git" gh-p
1616
# Replace /draft with this build.
1717
echo "Publishing to: /draft"
1818
rm -rf gh-pages/draft
19-
cp -r out/ gh-pages/draft
19+
cp -R out/ gh-pages/draft
2020

2121
# If this is a tagged commit, publish to a permalink and index.
2222
if [ -n "$GITTAG" ]; then
2323
echo "Publishing to: /$GITTAG"
24-
cp -r out/ "gh-pages/$GITTAG"
24+
cp -R out/ "gh-pages/$GITTAG"
2525
fi
2626

2727
# Create the index file

0 commit comments

Comments
 (0)