Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Feb 17, 2020
1 parent 282100c commit 556c848
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ HOST=https://gqlgen.com

VERSIONS_ARRAY=(
'v0.11.0'
'master'
'v0.10.2'
'master'
'v0.10.2'
'v0.9.3'
'v0.8.3'
'v0.7.2'
Expand Down Expand Up @@ -50,11 +50,11 @@ git fetch origin --tags

for version in "${VERSIONS_ARRAY[@]}" ; do
echo -e "$(date) $GREEN Updating docs for $version.$RESET"
rm -rf docs/content
git checkout $version -- docs/content
rm -rf content
git checkout $version -- content
rebuild "$version"
done

rm -rf docs/content
git checkout "$currentBranch" -- docs/content
rm -rf content
git checkout "$currentBranch" -- content

0 comments on commit 556c848

Please sign in to comment.