chore: remove author email

This commit is contained in:
2024-10-05 11:03:11 +02:00
parent b5c4a844ee
commit 5ec06d1bd6
+2 -2
View File
@@ -61,9 +61,9 @@ handle_mr:
BRANCH=$(echo "${BRANCHES}" | jq ".[].name")
TITLE="chore(release): prepare for $(cat VERSION)"
CONTENT="$(base64 -w0 <CHANGELOG.md)"
BODY_TMPL='{"branch": "next-release", "start_branch": $startBranch, "author_email": "releaser@unbound.se", "author_name": "Unbound Release", "content": $content, "commit_message": $title, "encoding": "base64" }'
BODY_TMPL='{"branch": "next-release", "start_branch": $startBranch, "author_name": "Unbound Release", "content": $content, "commit_message": $title, "encoding": "base64" }'
if [ -n "${BRANCH}" ]; then
BODY_TMPL='{"branch": "next-release", "author_email": "releaser@unbound.se", "author_name": "Unbound Release", "content": $content, "commit_message": $title, "encoding": "base64" }'
BODY_TMPL='{"branch": "next-release", "author_name": "Unbound Release", "content": $content, "commit_message": $title, "encoding": "base64" }'
fi
BODY="$(jq --null-input -c \
--arg title "${TITLE}" \