Manifests/HashicorpConsul.json

{
    "Name": "Hashicorp Consul",
    "Source": "https://www.consul.io/",
    "Get": {
        "Update": {
            "Uri": "https://api.github.com/repos/hashicorp/consul/releases/latest",
            "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
            "MatchFileTypes": "\\.exe$"
        },
        "Download": {
            "Uri": {
                "x64": "https://releases.hashicorp.com/consul/#version/consul_#version_windows_amd64.zip",
                "x86": "https://releases.hashicorp.com/consul/#version/consul_#version_windows_386.zip"
            },
            "ReplaceText": "#version"
        }
    },
    "Install": {
        "Setup": "consul*.zip",
        "Physical": {
            "Arguments": "",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "",
            "PostInstall": []
        }
    }
}