From 88a78e2f11fcda42b559d40d760462c2612ea823 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 7 May 2020 12:13:15 +0200 Subject: [PATCH] Fix github release tag --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index abb7ac0..82fae15 100644 --- a/src/github.ts +++ b/src/github.ts @@ -6,7 +6,7 @@ export interface GitHubRelease { } export const getRelease = async (version: string): Promise => { - const url: string = `https://github.com/upx/upx/releases/${version !== 'latest' ? `v${version}` : version}`; + const url: string = `https://github.com/upx/upx/releases/${version}`; const http: httpm.HttpClient = new httpm.HttpClient('ghaction-upx'); return (await http.getJson(url)).result; };