File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
param (
2
2
[string ]$config = " Release" ,
3
3
[string ]$solution ,
4
- [string ]$targetpath
4
+ [string ]$targetpath
5
5
)
6
6
Write-Host " Config: $config "
7
7
8
8
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 {
12
12
$v = $env: flowVersion
13
13
}
14
14
@@ -120,12 +120,11 @@ function Main {
120
120
121
121
if (IsDotNetCoreAppSelfContainedPublishEvent) {
122
122
FixPublishLastWriteDateTimeError $p
123
- }
123
+ }
124
124
125
125
Delete- Unused $p $config
126
126
$o = " $p \Output\Packages"
127
127
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.
129
128
Pack- Squirrel- Installer $p $v $o
130
129
131
130
$isInCI = $env: APPVEYOR
You can’t perform that action at this time.
0 commit comments