Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,22 @@ jobs:
continue
fi

if ! grep -qi "$chart_version" "$changelog_file"; then
echo "::error::Chart version $chart_version not documented in $changelog_file"
# Latest CHANGELOG entry header (Keep-a-Changelog convention: newest-on-top).
# Matching `^## [X.Y.Z]` is strict on purpose β€” `grep -qi $version`
# would pass even when Chart.yaml has drifted away from the latest
# entry (e.g. chart=3.2.6, latest changelog entry=3.3.8 β€” `3.2.6`
# still appears in older entries, so a loose presence check is silent).
latest_changelog_version=$(grep -m1 -oE '^## \[[0-9]+\.[0-9]+\.[0-9]+\]' "$changelog_file" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' || true)
if [ -z "$latest_changelog_version" ]; then
echo "::error::$changelog_file has no '## [X.Y.Z]' entry header; cannot verify Chart version alignment"
failed=1
continue
fi
if [ "$chart_version" != "$latest_changelog_version" ]; then
msg="$chart_file declares version $chart_version, but the latest entry in"
msg="$msg $changelog_file is [$latest_changelog_version]."
msg="$msg Bump Chart.yaml to match, or add a new '## [$chart_version] - YYYY-MM-DD' entry at the top."
echo "::error::$msg"
failed=1
fi
done
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nextcloud
description: Nextcloud deployment with PostgreSQL and Redis
type: application
version: 1.0.0
version: 1.1.0
appVersion: "latest"
home: https://nextcloud.com
sources:
Expand Down
2 changes: 1 addition & 1 deletion vaultwarden/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: vaultwarden
description: Enterprise-grade Vaultwarden (Bitwarden-compatible) password manager for WeOwn cohorts
type: application
version: 1.0.0
version: 1.3.1
appVersion: "1.30.3"
home: https://github.com/dani-garcia/vaultwarden
sources:
Expand Down
Loading