Commit 9a099c23 authored by Carlo Landmeter's avatar Carlo Landmeter

dabuild: alpine release can have more digits

parent 5203f3db
......@@ -65,8 +65,7 @@ _DOCKER=$DABUILD_DOCKER
if [ ! "$DABUILD_VERSION" ]; then
APORTS_BRANCH=$(git symbolic-ref --short -q HEAD)
case $APORTS_BRANCH in
[[:digit:]].[[:digit:]]-stable)
ALPINE_RELEASE=${APORTS_BRANCH%-stable};;
*-stable) DABUILD_VERSION=${APORTS_BRANCH%-stable};;
*) DABUILD_VERSION=edge;;
esac
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment