Add support of unstable Python versions

This commit is contained in:
MaksimZhukov 2020-07-15 17:57:44 +03:00
parent 654aa00a6e
commit 8fbc418d76
9 changed files with 4179 additions and 4088 deletions

View file

@ -15,7 +15,8 @@ const IS_WINDOWS = process.platform === 'win32';
export async function findReleaseFromManifest(
semanticVersionSpec: string,
architecture: string
architecture: string,
stable: boolean
): Promise<tc.IToolRelease | undefined> {
const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(
MANIFEST_REPO_OWNER,
@ -25,7 +26,7 @@ export async function findReleaseFromManifest(
);
return await tc.findFromManifest(
semanticVersionSpec,
true,
stable,
manifest,
architecture
);