From 3c63e8f69a6152b511c5b9569d00247a2ae455dc Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 14 May 2026 11:51:58 +0200 Subject: [PATCH] pipeline: tryfix helm chart versionning --- .gitea/workflows/pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 3083a2e..8698f9b 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -46,8 +46,9 @@ jobs: run: | # Get base chart version from Chart.yaml BASE_VERSION=$(grep '^version:' chart/Chart.yaml | awk '{print $2}') - # Use timestamp for ordered versions (e.g., 0.1.0-20240511.130400) - TIMESTAMP=$(date -u +"%Y%m%d.%H%M%S") + # Use timestamp for ordered versions (e.g., 0.1.0-20240511-130400) + # Note: SemVer pre-release cannot contain dots, only hyphens and alphanumerics + TIMESTAMP=$(date -u +"%Y%m%d-%H%M%S") CHART_VERSION="${BASE_VERSION}-${TIMESTAMP}" # Update both version and appVersion