in src/release.ts [83:94]
function resolveBinaryPath(artifact: KubeloginArtifact, dir: string): string {
if (artifact.platform.startsWith('win')) {
// windows has a different story :)
// ex: bin/windows_amd64/kubelogin.exe
const normalizedPlatform = artifact.platform.replace('win-', 'windows_');
return path.join(dir, 'bin', normalizedPlatform, 'kubelogin.exe');
} else {
// ex: bin/linux_amd64/kubelogin
const normalizedPlatform = artifact.platform.replace('-', '_');
return path.join(dir, 'bin', normalizedPlatform, 'kubelogin');
}
}