fix build
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-01-31 14:07:32 +11:00
parent ef2403b3cd
commit 7516eb4444
2 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
VERSION="${1:-${VERSION:-0.0.0}}"
VERSION="${VERSION#v}"
# Debian versions must start with a digit; fall back to 0.0.0+<sha/tag>.
if [[ ! "$VERSION" =~ ^[0-9] ]]; then
VERSION="0.0.0+${VERSION}"
fi
ARCH="${ARCH:-$(dpkg --print-architecture)}"
PACKAGE_NAME="slide"