Skip to content

Commit 21b4a04

Browse files
[ADMINAPI-1114-1] Fix push package version (#7)
1 parent f97d43b commit 21b4a04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ function Push {
151151
throw "Cannot push a NuGet package without providing an API key in the `NuGetApiKey` argument."
152152
}
153153

154-
$PackageFile = "$PSScriptRoot/EdFi.AdminConsole.InstanceManagementWorker.$PackageVersion.nupkg"
154+
if (-not $PackageFile) {
155+
$PackageFile = "$PSScriptRoot/EdFi.AdminConsole.InstanceManagementWorker.$Version.nupkg"
156+
}
157+
155158
DotnetPush -PackageFileName $PackageFile
156159
}
157160

0 commit comments

Comments
 (0)