We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccce780 commit 8e6aa98Copy full SHA for 8e6aa98
src/commands/install.yml
@@ -35,7 +35,8 @@ steps:
35
if [ ! "$PARAM_VAULT_VERSION" = "latest" ]; then
36
export VAULT_VER_STRING="$PARAM_VAULT_VERSION"
37
else
38
- export VAULT_VER_STRING="$VAULT_VERSION_LATEST"
+ PARAM_VAULT_VERSION=$(basename $(curl -fs -o /dev/null -w %{redirect_url} https://github.com/hashicorp/vault/releases/latest) | sed 's/v//')
39
+ export VAULT_VER_STRING="$PARAM_VAULT_VERSION"
40
fi
41
42
echo "Installing Vault binary"
@@ -82,5 +83,4 @@ steps:
82
83
84
environment:
85
PARAM_VAULT_VERSION: <<parameters.version>>
- VAULT_VERSION_LATEST: 1.10.0
86
name: Install Vault binary - <<parameters.version>>
0 commit comments