Skip to content

Commit 2dacc60

Browse files
committed
ci: additional fixes to zipping script
Signed-off-by: Vincent Biret <[email protected]>
1 parent 7026e05 commit 2dacc60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/zipPackageContent.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ param(
44
[Parameter(Mandatory=$true)][string] $Version,
55
[Parameter(Mandatory=$true)][string] $OutputDirectory,
66
[Parameter()][string] $GroupId = "com.microsoft.graph",
7-
[Parameter()][string] $ComponentsSegment = "..\components",
87
[Parameter()][string] $buildOutDir = "build\publishing-repository"
98
)
109

1110
#build\publishing-repository\com\microsoft\kiota\microsoft-kiota-bundle\1.8.5\
1211

1312
$groupIdPath = $GroupId -replace "\.", [System.IO.Path]::DirectorySeparatorChar
14-
$packageFullPath = Join-Path -Path $PSScriptRoot -ChildPath $buildOutDir -AdditionalChildPath $groupIdPath, $ArtifactId, $Version
13+
$packageFullPath = Join-Path -Path $PSScriptRoot -ChildPath ".." -AdditionalChildPath $buildOutDir, $groupIdPath, $ArtifactId, $Version
1514

1615
Write-Output "---------------------------------------------------"
1716
Write-Output "Zipping package contents at $packageFullPath"

0 commit comments

Comments
 (0)