Skip to content

Commit f0d48f7

Browse files
committed
use relative path to allow local build
1 parent ea08d96 commit f0d48f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/windows/make_chocolatey.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ if ($version.Contains("-"))
1212
$version = $version.Substring(0, $version.IndexOf("-"))
1313
}
1414

15-
Set-Location (Join-Path $env:BUILD_SOURCESDIRECTORY 'build\windows\Chocolatey\crowdsec')
16-
Copy-Item (Join-Path $env:BUILD_SOURCESDIRECTORY "crowdsec_$version.msi") "tools\crowdsec.msi"
15+
Set-Location .\build\windows\Chocolatey\crowdsec
16+
Copy-Item ..\..\..\..\crowdsec_$version.msi tools\crowdsec.msi
1717

1818
choco pack --version $version
1919

20-
Copy-Item "crowdsec.$version.nupkg" (Join-Path $env:BUILD_SOURCESDIRECTORY ".")
20+
Copy-Item crowdsec.$version.nupkg ..\..\..\..\

0 commit comments

Comments
 (0)