function PLUGIN:PreInstall(ctx)
local version = ctx.version
if version == nil or version == "" then
error("You must provide a version number, eg: vfox install bpkg@1.1.3")
end
local url = "https://github.com/bpkg/bpkg/archive/refs/tags/" .. version .. ".tar.gz"
return {
version = version,
url = url,
}
end