Deploy with Release_command not working

Hey, We have an app running fine, we decide to add a release_command for migration.
Then started getting deployment error

Error release command failed, deployment aborted

I have even tested echo in the release but still nothing

[deploy]
  release_command = "echo  release"

Is there any special thing needed to be done with use the release command ?