Elm enforces strict rules for incrementing version numbers for packaging, so need to ask Elm for what the next version number to be like by running elm bump
.
elm bump
The command will update elm.json
file with the new version number depending on the nature of the changes made.
The following files need to be updated with the new Elm package version in elm.json
file:
package.json
src/LocalStorage.elm
(seemoduleVersion
)
Verify that version changes are successful by running browser tests again:
yarn webtest
Check Firefox, Chrome, and Safari.
- Check-in everything to the repo
- Tag code in the
main
branch with the updated version number:
git tag <version>
- Push the tag to the repo
git push --tags
- Publish Elm package
elm publish
yarn publish
Add release notes to CHANGES.