I am trying to deploy the changes to the target Salesforce org. While doing that I am using the below code to deploy. But the below is deploying only the components ending with.cls, but I want all the components to be deployed to target org irrespective whether it is ending with .cls or not.
Could someone suggest where i am going wrong?
# Powershell script for partial builds
echo "Entering Powershell"
echo "Cleaning temp directory"
#Remove-Item -recurse temp -Force | Out-Null
$files = git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT HEAD~1 HEAD
echo $files#Gives the name of file along with its path ,that has been changed, the lastest commit