mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-28 18:02:57 +08:00
attempting to eliminate the possibility for false positives when checking for docs changes
This commit is contained in:
parent
00e68ca990
commit
13216d1f04
@ -23,10 +23,8 @@ function run {
|
|||||||
# CD in to the site dir to commit updated docs
|
# CD in to the site dir to commit updated docs
|
||||||
cd $SITE_DIR
|
cd $SITE_DIR
|
||||||
|
|
||||||
CHANGES=$(git status --porcelain)
|
|
||||||
|
|
||||||
# if no changes, don't commit
|
# if no changes, don't commit
|
||||||
if [[ "$CHANGES" == "" ]]; then
|
if [[ `git status --porcelain` ]]; then
|
||||||
echo "-- No changes detected for the following commit, docs not updated."
|
echo "-- No changes detected for the following commit, docs not updated."
|
||||||
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
|
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user