From 330dcaab44beffe4ab67d50377bf313b02ad0c7f Mon Sep 17 00:00:00 2001 From: Eric Chan Date: Wed, 14 Nov 2018 16:49:27 +1000 Subject: [PATCH] [INT-3510] Added doc for the npm deploy process --- docker/bin/deploy-npm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/bin/deploy-npm b/docker/bin/deploy-npm index a09af0c72..4c5d56219 100755 --- a/docker/bin/deploy-npm +++ b/docker/bin/deploy-npm @@ -1,5 +1,17 @@ #!/bin/sh -xe +### +# Deploy to NPM +# +# The whole deployment process is as following +# 1. Build project which compiles the code and type definitions +# 2. `npm version` which will create a new tag for deployment +# 3. `npm publish` which will push files to NPM and publish a new version +# 4. Push the new tag to GitHub +# 5. Update the release version variable in Jenkinsfile if it is different than the default version +# 6. Push new changes to develop +### + yarn build git config user.email "continuous.integration@intellihr.com.au"