mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
f1d097a01a
commit
70823bb3ed
10 changed files with 37 additions and 20 deletions
9
scripts/checkvariable/version.sh
Normal file
9
scripts/checkvariable/version.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue