Files
luos/.gitlab-ci.yml

18 lines
379 B
YAML

variables:
GIT_STRATEGY: fetch
GIT_FETCH_EXTRA_FLAGS: --prune --tags --depth 500
stages:
- build
build_job:
stage: build
script:
# Download fileManager
- bash docker/download_filemanager.sh "1.0.9"
- bash docker/build.sh $VERSION
before_script:
- VERSION=$(git describe | awk -F- '{ if( $2) {print $1 "." $2} else {print $1 ".0"} }' )
- echo $VERSION