Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 6290f27

Browse files
authored
fix(generate-docs): fix generate-docs.sh. (#4765)
Ignore generated unstaged files before checking out to new branch; otherwise, the git checkout will fail.
1 parent 2aa507f commit 6290f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ echo "Transfering files to gh-pages..."
105105
cd ".."
106106
git branch -D gh-pages
107107
git pull -f https://github.com/angular/protractor.git gh-pages:gh-pages
108-
git checkout gh-pages
109108
git reset --hard
109+
git checkout gh-pages
110110
cp -r website/build/* .
111111
git add -A
112112
git commit -m "chore(website): automatic docs update for ${VERSION}"

0 commit comments

Comments
 (0)