Skip to content

Commit

Permalink
Renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkellerman committed Feb 5, 2019
1 parent 207d281 commit 89c3cd8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Invoke-CommandAs.build.ps1
Expand Up @@ -56,7 +56,7 @@ task UpdateManifest {

[System.Version]$Version = New-Object -TypeName System.Version -ArgumentList ($PSGalleryVersion.Major, $PSGalleryVersion.Minor, ($PSGalleryVersion.Build + 1))
Write-Output -InputObject ('Updated Version : {0}' -f $Version)
Update-ModuleManifest -ModuleVersion $Version -Path .\PSTwitterAPI\PSTwitterAPI.psd1 # -ReleaseNotes $ReleaseNotes
Update-ModuleManifest -ModuleVersion $Version -Path .\Invoke-CommandAs\Invoke-CommandAs.psd1 # -ReleaseNotes $ReleaseNotes

}

Expand All @@ -83,7 +83,7 @@ task PublishModule -If ($Configuration -eq 'Production') {
ErrorAction = 'Stop'
}
Publish-Module @params
Write-Output -InputObject ('PSTwitterAPI PowerShell Module version published to the PowerShell Gallery')
Write-Output -InputObject ('Invoke-CommandAs PowerShell Module version published to the PowerShell Gallery')

}
else
Expand Down
2 changes: 1 addition & 1 deletion Tests/Invoke-CommandAs.Tests.ps1
Expand Up @@ -3,7 +3,7 @@ Try { Set-BuildEnvironment -Path "${PSScriptRoot}\.." -ErrorAction SilentlyConti
Remove-Module $ENV:BHProjectName -ErrorAction SilentlyContinue -Force -Confirm:$False
$Script:Module = Import-Module $ENV:BHPSModuleManifest -Force -PassThru

Describe 'Get-Module -Name PSTwitterAPI' {
Describe 'Get-Module -Name Invoke-CommandAs' {
Context 'Strict mode' {

Set-StrictMode -Version Latest
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Expand Up @@ -27,10 +27,10 @@ steps:
reportDirectory: '$(System.DefaultWorkingDirectory)/TestResults'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: PSTwitterAPI'
displayName: 'Publish Artifact: Invoke-CommandAs'
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)/PSTwitterAPI'
ArtifactName: PSTwitterAPI
PathtoPublish: '$(System.DefaultWorkingDirectory)/Invoke-CommandAs'
ArtifactName: Invoke-CommandAs

- powershell: 'Invoke-Build -Configuration Production -Task UpdateManifest, PublishModule'
displayName: 'Publish PowerShell Module'

0 comments on commit 89c3cd8

Please sign in to comment.