Skip to content

Commit

Permalink
chore: make the "dev" check more robust
Browse files Browse the repository at this point in the history
It should caputre `"foo": "@dev"` and `"foo": "1.2.3-dev.xxx"`
  • Loading branch information
tsvetomir authored and gyoshev committed May 30, 2017
1 parent 02a2845 commit 6f7db76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/release-master
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git reset --hard origin/master
git merge --ff-only --quiet origin/develop
set +o errexit

grep "\@dev" package.json
grep "[@-]dev" package.json
if [ $? -eq 0 ]; then
echo "Found reference to @dev packages. Aborting."
exit 1
Expand Down

0 comments on commit 6f7db76

Please sign in to comment.