diff --git a/post-build.sh b/post-build.sh index c57e36d2..da0361d8 100644 --- a/post-build.sh +++ b/post-build.sh @@ -19,7 +19,7 @@ echo ">>>Running post-build.sh" #!/bin/bash # Create dist branch if it doesn't exist already -if! git show-ref --verify --quiet refs/heads/dist; then +if ! git show-ref --verify --quiet refs/heads/dist; then # Create the dist branch if it doesn't exist git branch dist fi @@ -37,4 +37,4 @@ if [[ -n $(git status --porcelain) ]]; then git push origin dist else echo "No changes to commit" -fi \ No newline at end of file +fi