Skip to content

Commit

Permalink
fix: unblock release on a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3528 committed Jun 3, 2022
1 parent 7aec2b1 commit 9795744
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Expand Up @@ -350,8 +350,7 @@ jobs:
command: |
if ! \
{ git log "$( git describe --tags --abbrev=0 )..HEAD" --format='%s' | cut -d: -f1 | sort -u | sed -e 's/([^)]*)//' | grep -q -i -E '^feat|fix|perf|revert$' ; } || \
{ git log "$( git describe --tags --abbrev=0 )..HEAD" --format='%s' | cut -d: -f1 | sort -u | sed -e 's/([^)]*)//' | grep -q -E '\!$' ; } || \
{ git log "$( git describe --tags --abbrev=0 )..HEAD" --format='%b' | grep -q -E '^BREAKING CHANGE:' ; }
{ git log "$( git describe --tags --abbrev=0 )..HEAD" --format='%s' | cut -d: -f1 | sort -u | sed -e 's/([^)]*)//' | grep -q -E '\!$' ; }
then
echo "No applicable changes since the previous tag, skipping..."
circleci step halt
Expand Down

0 comments on commit 9795744

Please sign in to comment.