Files
yml/scripts/checkvariable/version.sh
2024-05-05 08:37:35 -05:00

10 lines
176 B
Bash

#!/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