Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 784 Bytes

RELEASING.md

File metadata and controls

36 lines (24 loc) · 784 Bytes

Releasing

Pre-release

Create a new X.Y.Z branch from master and run:

npm version <--major | --minor | --patch>

# E.g., to upgrade, from 0.0.0 to 0.0.1 version, please run:
# npm version --patch

# after that commit files and create a version tag
git tag -a version -m "<version>"

# and push it to the remote
git push --tags

After that make a PR to master branch. When approved, merge the code

NPM release

Castle SDK is also accessible as an NPM package. To publish the package, please follow the instructions:

npm login
npm publish castleio-react-native-castle-<version>.tgz

You can check the content of the pre-published package with:

npm pack
tar -tf <file>