Skip to content

Commit

Permalink
Update getSolutionName.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
v-amolpatil committed Sep 25, 2023
1 parent 23de93e commit f7b908f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .script/package-automation/getSolutionName.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ try
Write-Host "Filtered Files $filteredFiles"

# IDENTIFY EXCLUSIONS AND IF THERE ARE NO FILES AFTER EXCLUSION THEN SKIP WORKFLOW RUN
$exclusionList = @(".py$",".png$",".jpg$",".jpeg$",".conf$", ".svg$", ".html$", ".ps1$", ".psd1$", "requirements.txt$", "host.json$", "proxies.json$", "/function.json$", ".xml$", ".zip$")
$exclusionList = @(".py$",".png$",".jpg$",".jpeg$",".conf$", ".svg$", ".html$", ".ps1$", ".psd1$", "requirements.txt$", "host.json$", "proxies.json$", "/function.json$", ".xml$", ".zip$", ".md$")

$filterOutExclusionList = $filteredFiles | Where-Object { $_ -notmatch ($exclusionList -join '|') }

Expand Down

0 comments on commit f7b908f

Please sign in to comment.