Skip to content

Commit

Permalink
Merge pull request #1 from vuejs/v2
Browse files Browse the repository at this point in the history
chore: diff check for docs
  • Loading branch information
BlackCrowxyz authored Jun 10, 2022
2 parents af09ff6 + 2eb123d commit 2f959e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docs-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# - changes in netlify conf
# - a commit message that starts with docs like docs: ... or docs(nuxt): ...

git diff --quiet 'HEAD^' HEAD ./packages/docs/ && ! git diff 'HEAD^' HEAD ./yarn.lock | grep --quiet vite && git diff --quiet 'HEAD^' HEAD netlify.toml && ! git log -1 --pretty=%B | grep '^docs'
git diff --quiet 'HEAD^' HEAD ./packages/docs/ && ! git diff 'HEAD^' HEAD ./pnpm-lock.yaml | grep --quiet vitepress && git diff --quiet 'HEAD^' HEAD netlify.toml && ! git log -1 --pretty=%B | grep '^docs'

0 comments on commit 2f959e1

Please sign in to comment.