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
@ -100,7 +104,11 @@ jobs:
VERSION="`date +'%y.%-m.%-d'`"
fi
fi
if [ "${{ inputs.next }}" = "true" ]; then
VERSION="${VERSION}-next"
fi
echo "Version: ${VERSION}"
echo "VERSION=${VERSION}" >> $GITHUB_ENV