We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a5b5e8 + 25b7b24 commit c87f23dCopy full SHA for c87f23d
azure-devops/templates/cd-template.yml
@@ -176,7 +176,7 @@ steps:
176
inputs:
177
script: |
178
# Check for changes
179
- changeCount=$(git status --porcelain | wc -l)
+ changeCount=$(git status --porcelain "../${{ parameters.submoduleDir }}" | wc -l)
180
if [ "$changeCount" -eq 0 ]; then
181
echo "##vso[task.logissue type=warning]No changes to commit."
182
exit 0
0 commit comments