@@ -516,9 +516,9 @@ Describe "Test Publish-PSResource" -tags 'CI' {
516516 }
517517
518518 It " Publish a package given NupkgPath to a package with .psd1" {
519- $packageName = " temp-testmodule-nupkgpath.1.0.0.nupkg "
519+ $packageName = " temp-testmodule-nupkgpath"
520520 $version = " 1.0.0.0"
521- $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath $packageName
521+ $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath " $packageName .1.0.0.nupkg "
522522 Publish-PSResource - NupkgPath $nupkgPath - Repository $ACRRepoName
523523
524524 $results = Find-PSResource - Name $packageName - Repository $ACRRepoName
@@ -528,9 +528,9 @@ Describe "Test Publish-PSResource" -tags 'CI' {
528528 }
529529
530530 It " Publish a package given NupkgPath to a package with .ps1" {
531- $packageName = " temp-testscript-nupkgpath.1.0.0.nupkg "
531+ $packageName = " temp-testscript-nupkgpath"
532532 $version = " 1.0.0.0"
533- $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath $packageName
533+ $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath " $packageName .1.0.0.nupkg "
534534 Publish-PSResource - NupkgPath $nupkgPath - Repository $ACRRepoName
535535
536536 $results = Find-PSResource - Name $packageName - Repository $ACRRepoName
@@ -540,9 +540,9 @@ Describe "Test Publish-PSResource" -tags 'CI' {
540540 }
541541
542542 It " Publish a package given NupkgPath to a package with .nuspec" {
543- $packageName = " temp-testnupkg-nupkgpath.1.0.0.nupkg "
543+ $packageName = " temp-testnupkg-nupkgpath"
544544 $version = " 1.0.0.0"
545- $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath $packageName
545+ $nupkgPath = Join-Path - Path $script :testNupkgsFolderPath - ChildPath " $packageName .1.0.0.nupkg "
546546 Publish-PSResource - NupkgPath $nupkgPath - Repository $ACRRepoName
547547
548548 $results = Find-PSResource - Name $packageName - Repository $ACRRepoName
0 commit comments