Skip to content

Commit

Permalink
No zippy if already importy
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Feb 5, 2019
1 parent a7e65b3 commit a059ad8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Azure-Pipelines/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ if ($Compile.IsPresent) {
Remove-Item -Path .\BurntToast -Recurse -Force
Rename-Item -Path .\Output -NewName 'BurntToast'

# Compress output, for GitHub release
Compress-Archive -Path .\BurntToast\* -DestinationPath .\Azure-Pipelines\BurntToast.zip

# Re-import module, extract release notes
Import-Module "$PSScriptRoot/../BurntToast/BurntToast.psd1" -Force
(Get-Module BurntToast -ListAvailable).ReleaseNotes | Add-Content .\Azure-Pipelines\release-notes.txt

# Compress output, for GitHub release
Compress-Archive -Path .\BurntToast\* -DestinationPath .\Azure-Pipelines\BurntToast.zip
}

# Test step
Expand Down

0 comments on commit a059ad8

Please sign in to comment.