ci-includes-yml/scripts/checkvariable/version.sh

10 lines
176 B
Bash
Raw Permalink Normal View History

2024-05-05 08:37:35 -05:00
#!/usr/bin/env bash
#%%MULTILINE_YAML_START
#check for Version variable
if [ -z "${VERSION}" ]; then
# If not, assign a default value
VERSION=$CI_COMMIT_SHORT_SHA
fi