Skip to content

Commit

Permalink
Do not bail if no new commits were found (#54)
Browse files Browse the repository at this point in the history
* change the exit code to 0
so we exit, but can proceed to the decoupled script

* add anew message that says what we're doing
  • Loading branch information
jazzsequence committed Nov 9, 2022
1 parent f00d618 commit 8fbdcf5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devops/scripts/deploy-public-upstream.sh
Expand Up @@ -48,8 +48,9 @@ done
# If nothing found to release, bail without doing anything.
if [[ ${#commits[@]} -eq 0 ]] ; then
echo "No new commits found to release"
echo "https://i.kym-cdn.com/photos/images/newsfeed/001/240/075/90f.png"
exit 1
echo "Proceeding to decoulped script"
echo "https://media.giphy.com/media/cqG5aFdTkk5ig/giphy.gif"
exit 0
fi

# Cherry-pick commits not modifying circle config onto the release branch
Expand Down

0 comments on commit 8fbdcf5

Please sign in to comment.