INNER CODE UNIT · Kotlin
branch
vogler75/automation-gateway · docker/build.sh:30
branch=$(git rev-parse --abbrev-ref HEAD)
# Check if the branch is not "master"
if [ "$branch" != "master" ]; then
branch_name="-$branch"
else
branch_name=""
fi
ver=${2:-`cat version.txt`}$branch_name
echo $ver
build app . $ver
build app plc4x $ver