Skip to content

Commit 9504965

Browse files
authored
set git identity in sync-to-aws-eks-charts.sh (#714)
1 parent 68b65f6 commit 9504965

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: scripts/sync-to-aws-eks-charts.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,16 @@ cp -R "${helm_chart_path}/" "${eks_charts_nth_path}/"
153153

154154
echo -e "🥑 Commit updates"
155155

156+
git config --local user.name "ec2-bot 🤖"
157+
git config --local user.email "[email protected]"
158+
156159
helm_chart_version="$(cat "${helm_chart_path}/Chart.yaml" | grep "version:" | cut -d ' ' -f2 | tr -d '"')"
157160
pr_id="$(uuidgen | cut -d '-' -f1)"
158161
git_release_branch="${helm_chart_name}-${helm_chart_version}-${pr_id}"
159162
git checkout -b "${git_release_branch}"
160163

161164
git add --all
162-
git commit --author="ec2-bot 🤖 <[email protected]>" -m "${helm_chart_name}: ${helm_chart_version}"
165+
git commit -m "${helm_chart_name}: ${helm_chart_version}"
163166
git push -u origin "${git_release_branch}"
164167

165168
#################################################

0 commit comments

Comments
 (0)