Skip to content

Commit 5c5628d

Browse files
Update src/code/ContainerRegistryServerAPICalls.cs
Co-authored-by: Aditya Patwardhan <[email protected]>
1 parent 1980bff commit 5c5628d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code/ContainerRegistryServerAPICalls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ internal bool PushNupkgContainerRegistry(
11341134
_cmdletPassedIn.WriteDebug("In ContainerRegistryServerAPICalls::PushNupkgContainerRegistry()");
11351135

11361136
// if isNupkgPathSpecified, then we need to publish the original .nupkg file, as it may be signed
1137-
string fullNupkgFile = !isNupkgPathSpecified ? System.IO.Path.Combine(outputNupkgDir, packageName + "." + packageVersion.ToNormalizedString() + ".nupkg") : originalNupkgPath;
1137+
string fullNupkgFile = isNupkgPathSpecified ? originalNupkgPath : System.IO.Path.Combine(outputNupkgDir, packageName + "." + packageVersion.ToNormalizedString() + ".nupkg");
11381138

11391139
string pkgNameForUpload = string.IsNullOrEmpty(modulePrefix) ? packageName : modulePrefix + "/" + packageName;
11401140
string packageNameLowercase = pkgNameForUpload.ToLower();

0 commit comments

Comments
 (0)