Skip to content

Commit

Permalink
Update changelog and precommit script
Browse files Browse the repository at this point in the history
  • Loading branch information
R167 committed Jan 20, 2021
1 parent eb6d69f commit 2192305
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2192305

Please sign in to comment.