mirror of https://github.com/aminya/setup-cpp
fix: fix the kcov download link
This commit is contained in:
parent
c1033204f2
commit
d5d332b54c
|
@ -17,9 +17,9 @@ import { isUbuntu } from "../utils/env/isUbuntu"
|
||||||
import { addVPrefix, removeVPrefix } from "../utils/setup/version"
|
import { addVPrefix, removeVPrefix } from "../utils/setup/version"
|
||||||
import { info } from "../utils/io/io"
|
import { info } from "../utils/io/io"
|
||||||
|
|
||||||
function getDownloadKcovPackageInfo(version_number: string): PackageInfo {
|
function getDownloadKcovPackageInfo(version: string): PackageInfo {
|
||||||
return {
|
return {
|
||||||
url: `https://github.com/SimonKagstrom/kcov/releases/download/v${version_number}/kcov-amd64.tar.gz`,
|
url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,
|
||||||
extractedFolderName: "",
|
extractedFolderName: "",
|
||||||
binRelativeDir: "usr/local/bin",
|
binRelativeDir: "usr/local/bin",
|
||||||
binFileName: addBinExtension("kcov"),
|
binFileName: addBinExtension("kcov"),
|
||||||
|
|
Loading…
Reference in New Issue