Skip to content

Commit

Permalink
Fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Feb 13, 2024
1 parent 3493e34 commit efa1933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ COMMIT_ID=$(git rev-parse HEAD)

node -e "if (require('./lib/retire.js').version != require('./package.json').version) throw new Error('Wrong version in lib/retire.js')"

if grep -q "$VERSION" CHANGELOG.md; then
echo "Version is missing in CHANGELOG.md"
if ! grep -q "$VERSION" CHANGELOG.md; then
echo "ERROR: Version is missing in CHANGELOG.md"
exit 1
fi

Expand Down

0 comments on commit efa1933

Please sign in to comment.