Skip to content

Commit

Permalink
remove commit for each helm update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hritik Batra authored and ashish1099 committed Jan 4, 2025
1 parent 3a5d13a commit ffcdb71
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions bin/helm-repo-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,6 @@ if "$UPDATE_ALL"; then

update_helm_chart "$path" "$CHART_VERSION"

# Commit for each individual helm chart
if $PULL_REQUEST; then
pull_request "$chart_name"
fi
done < <(find ./"$ARGOCD_CHART_PATH" -maxdepth 1 -mindepth 1 -type d | sort)

# Check if the current date entry exists in the file
Expand All @@ -423,10 +419,6 @@ if "$UPDATE_ALL"; then
sed -i '/### Minor Version Upgrades/{N;/### Minor Version Upgrades\n\n###$/d;}' CHANGELOG.md
sed -i '/### Patch Version Upgrades/{N;/### Patch Version Upgrades\n\n###$/d;}' CHANGELOG.md

if $PULL_REQUEST; then
git add CHANGELOG.md
git commit -m "Update to new tag for Kubeaid"
fi
else
bump_type="patch"
current_ver="$(get_current_version)"
Expand All @@ -437,6 +429,8 @@ if "$UPDATE_ALL"; then
fi

if $PULL_REQUEST; then
git add .
git commit -m "periodic helm chart update"
git push origin "$branch_name"
fi

Expand Down

0 comments on commit ffcdb71

Please sign in to comment.