diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b7a7d4..8bcc48b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## [master] +## v0.5.3 + +* Fixed changelog +* Add changelog check to version bump + +## v0.5.2 + +* Update examples +* Fix bug where sounds on relative assets didn't work + ## v0.5.1 * Minor tweaks to the example assignment1 diff --git a/package.json b/package.json index d7944c9..3799a30 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "zbase32": "^1.0.3" }, "scripts": { - "preversion": "yarn prettier --check ./src && yarn lint-ci && yarn test --watchAll=false", + "preversion": "(git show :CHANGELOG.md | grep \"## v$npm_package_version\" || (echo \"Missing v$npm_package_version in changelog!\" && exit 100)) && yarn prettier --check ./src && yarn lint-ci && yarn test --watchAll=false", "postversion": "echo \"Pushing $npm_package_version to origin...\" && git push --follow-tags", "start": "react-scripts start", "build": "react-scripts build",