# Run command not executing the complete script

**URL:** <https://discuss.circleci.com/t/run-command-not-executing-the-complete-script/44313>\
**Category:** Build Environment\
**Created:** [June 3, 2022, 10:59pm UTC](https://discuss.circleci.com/t/run-command-not-executing-the-complete-script/44313 "2022-06-03T22:59:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nreddipalle](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/nreddipalle/32/30300_2.png) [@nreddipalle](https://discuss.circleci.com/u/nreddipalle)\
**Post date:** [June 3, 2022, 10:59pm UTC](https://discuss.circleci.com/t/run-command-not-executing-the-complete-script/44313/1 "2022-06-03T22:59:41Z")

</div>

trying to run a bash script but its not executing fully.

- run:  
name: Create git Release  
command: |  
release\_timestamp=$(gh release view --json createdAt --jq .createdAt)  
echo $release\_timestamp  
pr\_list=$(gh pr list -S “merged:\>$release\_timestamp” --json title,number --jq ‘. | .title + " #" + (.number|tostring)’)  
echo $pr\_list

Output:

2022-06-03T18:35:01Z

CircleCI received exit code 0
