Skip to content

Commit e5e3fe3

Browse files
committed
fix: validation rectified
1 parent 11f468b commit e5e3fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
node-version: 14
1919
- run: npm install -g json
2020
- run: |
21-
if [[ $(npm view react-jsonschema-form-material-ui version) != $(json -f scripts/installer/frameworks/react/package.json version) ]]; then
22-
echo "Creating New Release"
21+
if [[ $(npm view react-jsonschema-form-material-ui version) == $(json -f scripts/installer/frameworks/react/package.json version) ]]; then
22+
exit 1
2323
fi
24-
exit 1
24+
echo "Creating New Release"
2525
2626
build:
2727
if: "!github.event.release.prerelease"

0 commit comments

Comments
 (0)