Skip to content

Commit a12abbf

Browse files
committed
changed format of git user and mail in log output
1 parent c5362ef commit a12abbf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

release/create-release-candidate-branch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ check_dependencies() {
282282
# check for a globally configured git user
283283
git_user=$(git config --global --get user.name)
284284
git_email=$(git config --global --get user.email)
285-
echo "global git user: '$git_user/$git_email'."
285+
echo "global git user: $git_user <$git_email>"
286286

287287
if [ -z "$git_user" ] || [ -z "$git_email" ]; then
288288
>&2 echo "Error: global git user name/email is not set."
@@ -291,7 +291,7 @@ check_dependencies() {
291291
echo "Is this correct? (y/n)"
292292
read -r response
293293
if [[ "$response" == "y" || "$response" == "Y" ]]; then
294-
echo "Proceeding with '$git_user/$git_email'."
294+
echo "Proceeding with $git_user <$git_email>"
295295
else
296296
>&2 echo "User not accepted. Exiting."
297297
exit 1

release/merge-release-candidate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ check_dependencies() {
9191
# check for a globally configured git user
9292
git_user=$(git config --global --get user.name)
9393
git_email=$(git config --global --get user.email)
94-
echo "global git user: '$git_user/$git_email'."
94+
echo "global git user: $git_user <$git_email>"
9595

9696
if [ -z "$git_user" ] || [ -z "$git_email" ]; then
9797
>&2 echo "Error: global git user name/email is not set."
@@ -100,7 +100,7 @@ check_dependencies() {
100100
echo "Is this correct? (y/n)"
101101
read -r response
102102
if [[ "$response" == "y" || "$response" == "Y" ]]; then
103-
echo "Proceeding with '$git_user/$git_email'."
103+
echo "Proceeding with $git_user <$git_email>"
104104
else
105105
>&2 echo "User not accepted. Exiting."
106106
exit 1

release/tag-release-candidate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ check_dependencies() {
160160
# check for a globally configured git user
161161
git_user=$(git config --global --get user.name)
162162
git_email=$(git config --global --get user.email)
163-
echo "global git user: '$git_user/$git_email'."
163+
echo "global git user: $git_user <$git_email>"
164164

165165
if [ -z "$git_user" ] || [ -z "$git_email" ]; then
166166
>&2 echo "Error: global git user name/email is not set."
@@ -169,7 +169,7 @@ check_dependencies() {
169169
echo "Is this correct? (y/n)"
170170
read -r response
171171
if [[ "$response" == "y" || "$response" == "Y" ]]; then
172-
echo "Proceeding with '$git_user/$git_email'."
172+
echo "Proceeding with $git_user <$git_email>"
173173
else
174174
>&2 echo "User not accepted. Exiting."
175175
exit 1

0 commit comments

Comments
 (0)