post-build script: remove leftover comment

also convert indentation to spaces
This commit is contained in:
Ioannis G 2020-05-11 19:49:39 +03:00
parent 76e71368ad
commit 5ed5d52733
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E

View file

@ -1,14 +1,14 @@
param(
[string]$config = "Release",
[string]$solution,
[string]$targetpath
[string]$targetpath
)
Write-Host "Config: $config"
function Build-Version {
if ([string]::IsNullOrEmpty($env:flowVersion)) {
$v = (Get-Command ${TargetPath}).FileVersionInfo.FileVersion
} else {
if ([string]::IsNullOrEmpty($env:flowVersion)) {
$v = (Get-Command ${TargetPath}).FileVersionInfo.FileVersion
} else {
$v = $env:flowVersion
}
@ -120,12 +120,11 @@ function Main {
if(IsDotNetCoreAppSelfContainedPublishEvent) {
FixPublishLastWriteDateTimeError $p
}
}
Delete-Unused $p $config
$o = "$p\Output\Packages"
Validate-Directory $o
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
Pack-Squirrel-Installer $p $v $o
$isInCI = $env:APPVEYOR