Skip to content
Discussion options

You must be logged in to vote

Hi @erbenjak,
You can obtain the email address for a specific commit using the git log command.
Save the email address in an environment variable and trigger a notification using a service like SendGrid or Mailgun.
for example:

AUTHOR_EMAIL=$(git log -1 --format='%ae' $CM_COMMIT)

where CM_COMMIT is
Commit hash that is currently being built by Codemagic, for pull request builds it is the hash of the source commit.
You need to set up a personal access token as described in the GitHub documentation.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@himesh-cm
Comment options

@himesh-cm
Comment options

@himesh-cm
Comment options

@erbenjak
Comment options

@himesh-cm
Comment options

Answer selected by erbenjak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants