From d1932d49fd0d1a55bcc238cc6abfef2779d30848 Mon Sep 17 00:00:00 2001 From: so-hvats Date: Mon, 4 Apr 2022 17:54:58 +0530 Subject: [PATCH] https://scheduleonce.atlassian.net/browse/ONCEHUB-52065 --- deploy.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 50021a5..41fa519 100644 --- a/deploy.sh +++ b/deploy.sh @@ -4,6 +4,8 @@ set -e node package-deploy/npm-login.js $(cat "/etc/npm-cred/NPM_AUTH_TOKEN") npm whoami npm i -npm publish +npm run package +filename="$(npm pack --dry-run | tail -n 1)" +npm publish dist/knowledgeowl-angular/$filename --registry=https://registry.npmjs.org/ -echo "package pushed to NPM successfully" \ No newline at end of file +echo "$filename package pushed to NPM successfully" \ No newline at end of file