build: check for next

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-01-20 12:44:45 +01:00
parent 08af7db88c
commit c7708790a9

View File

@ -14,6 +14,10 @@ on:
description: "format %y.%-m.$i or auto"
required: false
type: string
next:
description: "-next Release"
required: false
type: boolean
prerelease:
description: "pre release"
default: false
@ -101,6 +105,10 @@ jobs:
fi
fi
if [ "${{ inputs.next }}" = "true" ]; then
VERSION="${VERSION}-next"
fi
echo "Version: ${VERSION}"
echo "VERSION=${VERSION}" >> $GITHUB_ENV