diff --git a/scripts/windows/latest.ps1 b/scripts/windows/latest.ps1 index 7e8b3b5..8663c63 100644 --- a/scripts/windows/latest.ps1 +++ b/scripts/windows/latest.ps1 @@ -21,7 +21,7 @@ echo $env:REGISTRY # build the binary Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe"; -go build -o release/windows/amd64/drone-${env:REGISTRY}.exe +go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY} # build and publish the docker image docker login -u ${env:USERNAME} -p ${env:PASSWORD} diff --git a/scripts/windows/tag.ps1 b/scripts/windows/tag.ps1 index 6d895ae..d1cac5b 100644 --- a/scripts/windows/tag.ps1 +++ b/scripts/windows/tag.ps1 @@ -31,7 +31,7 @@ echo $env:VERSION # build the binary Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe" -go build -o release/windows/amd64/drone-${env:REGISTRY}.exe +go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY} # authenticate with the docker registry docker login -u ${env:USERNAME} -p ${env:PASSWORD}