mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-17 11:40:58 +08:00
fix: only release when version is bumped
This commit is contained in:
@@ -22,4 +22,4 @@ sources:
|
||||
- https://github.com/traefik/traefik-helm-chart
|
||||
- https://traefik.io/
|
||||
type: application
|
||||
version: 7.1.1
|
||||
version: 7.1.2
|
||||
|
||||
@@ -412,11 +412,10 @@ lookup_latest_tag() {
|
||||
filter_charts() {
|
||||
while read -r chart; do
|
||||
[[ ! -d "$chart" ]] && continue
|
||||
local file="$chart/Chart.yaml"
|
||||
if [[ -f "$file" ]]; then
|
||||
if [[ $(git diff $latest_tag $chart/Chart.yaml | grep "+version") ]]; then
|
||||
echo "$chart"
|
||||
else
|
||||
echo "WARNING: $file is missing, assuming that '$chart' is not a Helm chart. Skipping." 1>&2
|
||||
echo "Version not bumped. Skipping." 1>&2
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user