redfort-sdk
v1.0.68
Published
## Steps to publish the redfort-sdk to npm
Downloads
226
Readme
redfort-sdk
Steps to publish the redfort-sdk to npm
merge code changes to master branch and checkout to master
git checkout master
take the latest pull from the master branch, make sure your changes are there in master branch
git pull
create new branch from master to update the version
git checkout -b branch_name
make sure your in the new branch, run the below command to update the version
npm version patch
above command updates the version in package.json and package-lock.json and pushes it to the bitbucket.
create a pull request from your branch on bitbucket and get it merged to master
once PR is merged to master, checkout master branch and take latest pull and make sure version is updated properly.
git checkout master
andgit pull
once you verified the changes, get the npm token from respective module owners, open terminal in redfort-sdk folder and run below command to export the token
export NPM_TOKEN=paste the token here
run below command to publish package
npm publish