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