Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.14 KB

RELEASE.md

File metadata and controls

75 lines (50 loc) · 2.14 KB

Release process

Changelog

Generate new version CHANGELOG.md file by running

 $ npm run changelog

After changelog is generated, please review it and make sure it contains only relevant information. Adhere to semver and bump the package.json accordingly to semver rules.

Edit README.md

Edit README.md file (API Documentation section), VERSIONS.md file and add link to the version you're currently releasing. Also add the link to release article from ramda-adjunct medium publication.

Commit to git

Commit the above changes to git with following git message

 $ git commit -m "chore(release): cut the vX.Y.Z release"
 $ git push origin master

Create git tag

Tag the release commit

 $ git tag -a vY.Y.Z
 $ git push --tags

Create release on github.com

Go to ramda-adjunct github repo and create the github release. Use a tag that you created in previous step as a release tag. For more information how to create github release, please refer to this page.

Publish to NPM

 $ npm publish

Bump the version

Bump the package.json and package-lock.json version by incrementing MAJOR, MINOR or PATCH part of the semver version.

 $ git add package.json 
 $ git add package-lock.json
 $ git commit -m "chore: bump version to vX.Y.Z"
 $ git push origin master

Edit redirector for gp-pages

Go to ramda-adjunct github repo and switch to gh-pages branch. Find index.html and edit it. Replace all references of previous version of ramda-adjunct with the currently released one. In commit message use suffix [ci skip] for circleci to skip the build triggered by this change.

Note

This is current manual release process. We are already working on fully automated release process. But until that, please strictly adhere to this steps. It is essential that they are executed in the right order.