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