Add tests

This commit is contained in:
CrazyMax
2019-09-22 07:17:07 +02:00
committed by GitHub
parent 79b6548141
commit bb450e4e69
29 changed files with 5069 additions and 30 deletions
+4 -1
View File
@@ -35,7 +35,10 @@ export async function getGoReleaser(version: string): Promise<string> {
extPath = await tc.extractTar(`${tmpdir}/${fileName}`);
}
return path.join(extPath, 'goreleaser');
return path.join(
extPath,
osPlat == 'win32' ? 'goreleaser.exe' : 'goreleaser'
);
}
function getFileName(): string {