Skip to content

Commit 5ed5d52

Browse files
committed
post-build script: remove leftover comment
also convert indentation to spaces
1 parent 76e7136 commit 5ed5d52

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Scripts/post_build.ps1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
param(
22
[string]$config = "Release",
33
[string]$solution,
4-
[string]$targetpath
4+
[string]$targetpath
55
)
66
Write-Host "Config: $config"
77

88
function Build-Version {
9-
if ([string]::IsNullOrEmpty($env:flowVersion)) {
10-
$v = (Get-Command ${TargetPath}).FileVersionInfo.FileVersion
11-
} else {
9+
if ([string]::IsNullOrEmpty($env:flowVersion)) {
10+
$v = (Get-Command ${TargetPath}).FileVersionInfo.FileVersion
11+
} else {
1212
$v = $env:flowVersion
1313
}
1414

@@ -120,12 +120,11 @@ function Main {
120120

121121
if(IsDotNetCoreAppSelfContainedPublishEvent) {
122122
FixPublishLastWriteDateTimeError $p
123-
}
123+
}
124124

125125
Delete-Unused $p $config
126126
$o = "$p\Output\Packages"
127127
Validate-Directory $o
128-
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
129128
Pack-Squirrel-Installer $p $v $o
130129

131130
$isInCI = $env:APPVEYOR

0 commit comments

Comments
 (0)