mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-16 11:37:04 +02:00
* Update Vault version verification integration test Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> * Refactor to validate artifact build date Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> * Address review comments Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> * Fix capitalization in variable descriptions Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
11 lines
237 B
Bash
Executable File
11 lines
237 B
Bash
Executable File
#!/bin/env bash
|
|
set -eu -o pipefail
|
|
|
|
# Set up the environment for building Vault.
|
|
root_dir="$(git rev-parse --show-toplevel)"
|
|
|
|
pushd "$root_dir" > /dev/null
|
|
|
|
IFS="-" read -r VAULT_VERSION _other <<< "$(make version)"
|
|
echo $VAULT_VERSION
|