Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release.sh: skip if nothing to commit for gh-pages (#2851)
Motivation: Sometimes it's required to re-run the release script if there was an error with a previous build. In this case, gh-pages are already generated and the 2nd run does not produce any new output. Script fails with "nothing to commit" message. Modifications: - Commit gh-pages only if there is a non-empty diff; Result: release.sh script does not fail if there are no updates for gh-pages.
- Loading branch information