diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b04bf857..3da5c7a2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,13 +35,12 @@ jobs: exit 1 fi if - grep -zq 'bumping studio-plugin\nnpm ERR! Version not changed' temp-bump-versions.txt && - grep -zq 'bumping studio-ui\nnpm ERR! Version not changed' temp-bump-versions.txt && - grep -zq 'bumping studio\nnpm ERR! Version not changed' temp-bump-versions.txt + grep -zq 'bumping studio-plugin\nnpm ERR! Version not changed' temp-bump-versions.txt then if git diff --exit-code then - exit 0 + echo "Success" + exit 1 fi echo "Found unexpected git diff from running the bump-versions.mjs script." exit 1