Publish reusable Quay chart with optional PostgreSQL and Valkey
Validate, publish and promote Quay chart / chart (push) Failing after 21s
Validate and deploy Quay / Downtime deployment (push) Successful in 19s
Validate and deploy Quay / Validate manifest (push) Successful in 11s

This commit is contained in:
feedc0de committed 2026-10-20 08:54:24 +02:00
1 parent 05da8823f0
commit 3335a6956f
15 files changed
+439 -6

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
description=$(git -C "$project_dir" describe --tags --long --match 'v[0-9]*' --dirty)
case "$description" in
*-dirty) echo 'Refusing to package a dirty tree.' >&2; exit 1 ;;
esac
version=${description#v}
case "$version" in
*-0-g*) version=${version%%-0-g*} ;;
esac
printf '%s\n' "$version"