Any tool can execute MongoDB patching script upon new app version release and deployment

May I know is there any tool can support patching scripts execution by files upon new app version release & deployment.

sample script:

db.mycollection1.update(
{},
[{
$set: {
“field”: “defaultvalue”
}
}]
);
db.mycollection2.update(
{},
[{
$set: {
“field”: “defaultvalue”
}
}]
);