Skip to content

Commit 0967aac

Browse files
committedAug 19, 2020
Updating release-docfx-github.sh to dont throw error on empty git changes
1 parent 9f60b11 commit 0967aac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/release-docfx-github.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ git config --global user.email ${DOCFX_GITHUB_EMAIL}
2323
git config --global user.name "ByteDecoder"
2424

2525
git add . -A
26-
git commit -m "Update generated documentation"
27-
git push origin gh-pages
26+
git diff-index --quiet HEAD || git commit -m "Update generated documentation" || git push origin gh-pages

0 commit comments

Comments
 (0)
Please sign in to comment.