diff --git a/src/commcare_cloud/fab/operations/release.py b/src/commcare_cloud/fab/operations/release.py index ec8cd461b5..f1d2c15fc5 100644 --- a/src/commcare_cloud/fab/operations/release.py +++ b/src/commcare_cloud/fab/operations/release.py @@ -372,13 +372,15 @@ def record_successful_deploy(): sudo(( '%(virtualenv_current)s/bin/python manage.py ' 'record_deploy_success --user "%(user)s" --environment ' - '"%(environment)s" --url %(url)s --minutes %(minutes)s --mail_admins' + '"%(environment)s" --url %(url)s --minutes %(minutes)s --mail_admins ' + '--commit %(commit)s' ) % { 'virtualenv_current': env.py3_virtualenv_current, 'user': env.user, 'environment': env.deploy_env, 'url': env.deploy_metadata.diff.url, - 'minutes': str(int(delta.total_seconds() // 60)) + 'minutes': str(int(delta.total_seconds() // 60)), + 'commit': env.deploy_metadata.deploy_ref })