Closed jsiebens closed 3 years ago
A little known URL that might help if you want to internalize the check is https://releases.hashicorp.com/index.json. You could then bring your favorite semver library and find the latest in that json. Works at the product level too (https://releases.hashicorp.com/vault/index.json)
@angrycub thanks for bringing that up, I'll have a look at it
Signed-off-by: Johan Siebens johan.siebens@gmail.com
Description
Change to way of getting the default version of the products to install
Motivation
Currently, hashi-up is using https://checkpoint.hashicorp.com/ to get the latest version of the products. As Vault is intentionally not integrated with Checkpoint, this cannot be used when installing Vault.
This PR introduces a new way to get a default version, by using a little
versions.hcl
file available in this source repositoryFixes #5