зеркало из
1
0
Форкнуть 0

fix signing pipeline and use master in readme

This commit is contained in:
Wei Shi 2020-09-15 17:02:47 -07:00
Родитель 6248229a1e
Коммит 67e37d4a1f
3 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -48,7 +48,7 @@ In this directory, run AutoRest:
``` yaml
require:
- $(this-folder)/../readme.azurestack.md
- $(repo)/specification/azsadmin/resource-manager/backup/readme.azsautogen.md
- $(repo)/specification/azsadmin/resource-manager/backup/readme.md
metadata:
description: 'Microsoft AzureStack PowerShell: Backup Admin cmdlets'

Просмотреть файл

@ -4,7 +4,7 @@
``` yaml
azure: true
powershell: true
branch: stackadmin
branch: master
repo: https://github.com/Azure/azure-rest-api-specs/tree/$(branch)
metadata:
authors: Microsoft Corporation

Просмотреть файл

@ -44,10 +44,13 @@ Write-Verbose -Message "Current path to check for unsigned files: ${pathToValida
################################# END EXTRACT NUPKG #################################
$exclude = @("Unprotect-SecureString.ps1")
if (Test-Path -Path $pathToValidate -PathType Container)
{
$fileInfos = Get-ChildItem -Path $pathToValidate -File -Recurse `
| Where-Object { $_.Extension -iin @('.dll','.exe','.msi','.cab','.ps1','.psm1','.psd1','.pssc','.ps1xml') } `
| Where-Object { $_.Name -notin $exclude }
| Where-Object { $_.Extension -in @('.dll','.exe','.msi','.cab','.ps1','.psm1','.psd1','.pssc','.ps1xml') } `
| Where-Object { $_.FullName -notlike $(Join-Path -Path "*${moduleName}" -ChildPath "test*") }
}
elseif (Test-Path -Path $pathToValidate -PathType Leaf)