From 11fd83ba27b8b504746cf69566635896c16f05b4 Mon Sep 17 00:00:00 2001 From: nmanu1 Date: Mon, 30 Oct 2023 11:27:23 -0400 Subject: [PATCH] v0.27.0 try adding back logic, and missing spaces? --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b35d98556..b36f6fe78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,19 @@ jobs: echo "Package versions did not match ${{ steps.vars.outputs.version }}." exit 1 fi - echo "FAIL" + 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 + then + if git diff --exit-code + then + exit 0 + fi + echo "Found unexpected git diff from running the bump-versions.mjs script." + exit 1 + fi + echo "Error running the bump-version.mjs script." cat temp-bump-versions.txt exit 1 - name: check linting