# Deploy with Release\_command not working

**URL:** <https://community.fly.io/t/deploy-with-release-command-not-working/8920>\
**Category:** General\
**Tags:** docs\
**Created:** [November 23, 2022, 2:58pm UTC](https://community.fly.io/t/deploy-with-release-command-not-working/8920 "2022-11-23T14:58:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![duke](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@duke](https://community.fly.io/u/duke)\
**Post date:** [November 23, 2022, 2:58pm UTC](https://community.fly.io/t/deploy-with-release-command-not-working/8920/1 "2022-11-23T14:58:10Z")

</div>

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

```auto
Error release command failed, deployment aborted

```

I have even tested echo in the release but still nothing

```auto
[deploy]
  release_command = "echo release"

```

I have also added a simple script in `/.fly.scripts/migrate.sh`

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