#!/usr/bin/env bash
#parses  BUILD_VERSION from current tag
IFS='. ' read -r -a VERSION_ARRAY <<< "${CI_COMMIT_TAG}"
export BUILD_VERSION=${VERSION_ARRAY[0]}.${VERSION_ARRAY[1]}
echo "export build_version: ${BUILD_VERSION}"
