Skip to content

Commit

Permalink
fix: prepare-for-staging-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Mar 4, 2024
1 parent 05ffe82 commit afb2f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
cd rudder-devops
BRANCH_NAME="shared-transformer-$TAG_NAME"
echo $BRANCH_NAME
if [ -n `git ls-remote --heads origin $BRANCH_NAME 2>/dev/null` ]
if [ -n "$(git ls-remote --heads origin $BRANCH_NAME 2>/dev/null)" ]
then
echo "Staging deployment branch already exists!"
else
Expand Down

0 comments on commit afb2f45

Please sign in to comment.