-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
Expected resultsIt should be possible to send an email to an adress, which is determined during runtime of the codemagic workflow. Actual resultsWhen putting an variabe (either local or environment ) in the recipients list it leads to the script failing Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi @erbenjak,
where |
Beta Was this translation helpful? Give feedback.
-
While I’m closing our discussion for now, if you have any other questions or suggestions, feel free to reply back or start a new discussion anytime. Have a nice day! |
Beta Was this translation helpful? Give feedback.
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:
where
CM_COMMIT
isCommit 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.