Merge pull request #19 from github/addit

Addit
This commit is contained in:
Lukas Gravley 2019-12-03 14:01:08 -06:00 committed by GitHub
commit 091ffc93e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2008,7 +2008,7 @@ BuildFileList()
#####################################################################
# Switch codebase back to master to get a list of all files changed #
#####################################################################
SWITCH_CMD=$(cd "$GITHUB_WORKSPACE" || exit; git checkout master; git fetch 2>&1)
SWITCH_CMD=$(cd "$GITHUB_WORKSPACE" || exit; git checkout master; git pull; git fetch 2>&1)
#######################
# Load the error code #
@ -2025,6 +2025,11 @@ BuildFileList()
exit 1
fi
#########
# Print #
#########
echo "Generating Diff with:[git diff --name-only 'master..$GITHUB_SHA' --diff-filter=d]"
################################################
# Get the Array of files changed in the comits #
################################################