Fix no such directory error on CI

See gh-20530
This commit is contained in:
Madhura Bhave
2020-03-31 11:54:20 -07:00
parent 8c8d7af14d
commit b3906e0466
2 changed files with 2 additions and 3 deletions

View File

@@ -1,9 +1,7 @@
#!/bin/bash
set -e
commit_message=$( cat commit-details/message )
if [[ ${commit_message} != "" ]]; then
if [[ -f commit-details/message ]]; then
curl \
-s \
-u ${GITHUB_USERNAME}:${GITHUB_PASSWORD} \