2 changed files
Build | ||
Publish-AzDOArtifactFeed.ps1 | ||
PSvCloud | ||
PSvCloud.psd1 | ||
Publish-AzDOArtifactFeed.ps1
/Build/Publish-AzDOArtifactFeed.ps1-4+2/Build/Publish-AzDOArtifactFeed.ps1
Add comment 10 $moduleFolderPath = Join-Path -Path $env:SYSTEM_ARTIFACTSDIRECTORY -ChildPath "PowerShellPipeline\PSModule\PSvCloud"
Add comment 11 $repositoryName = 'psmodules'
Add comment 12 $feedUsername = 'NotChecked'
Add comment 13 Minus # $PAT = $env:ArtifactFeedPat
Add comment 14 Minus # $PAT = $(ArtifactFeedPat)
Add comment 15 13 $packageSourceUrl = "https://adamrushuk.pkgs.visualstudio.com/_packaging/$repositoryName/nuget/v2" # Enter your VSTS AccountName (note: v2 Feed)
Add comment 16 14
Add comment 17 15 # Testing
Add comment 19 17 Write-Host "ArtifactFeedPat env var: [$env:ArtifactFeedPat]"
Add comment 20 18 Write-Host "PAT param passed in: [$PAT]"
Add comment 21 19 Write-Host "SecretVar param passed in: [$SecretVar]"
Add comment 22 Minus
Add comment 20 Plus <#
Add comment 23 21 Write-Host "NuGet binary info:"
Add comment 24 22 Get-Command NuGet.exe | Format-List *
Add comment 25 23
Add comment 26 24 Get-ChildItem $moduleFolderPath
Add comment 27 25 Test-ModuleManifest -Path "$moduleFolderPath\PSvCloud.psd1"
Add comment 28 Minus
Add comment 26 Plus #>
Add comment 29 27
Add comment 30 28 # This is downloaded during Step 3, but could also be "C:\Users\USERNAME\AppData\Local\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe"
Add comment 31 29 # if not running script as Administrator.
Add comment 12 RootModule = 'PSvCloud.psm1'
Add comment 13
Add comment 14 # Version number of this module.
Add comment 15 Minus ModuleVersion = '0.2.0'
Add comment 15 Plus ModuleVersion = '0.2.1'
Add comment 16
Add comment 17 # Supported PSEditions
Add comment 18 # CompatiblePSEditions = @()