Skip to content

Commit

Permalink
Merge pull request #259 from gisaia/feature/updateReleaseScript
Browse files Browse the repository at this point in the history
Publish to npm in release
  • Loading branch information
mbarbet authored Jan 18, 2021
2 parents 62413e8 + 57d265b commit 338ecb4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ docker build --no-cache --build-arg version=${VERSION} --tag gisaia/arlas-wui:${
docker push gisaia/arlas-wui:${VERSION}
docker push gisaia/arlas-wui:latest

echo "==> Npm"
rm -rf dist
npm install
npm run ngc-build
cp package.json dist
cd dist && npm publish
cd ..

echo "==> Clean local environment"
npm cache clean --force
rm -rf node_modules/

echo "==> Go back to develop branch and rebase"
git checkout develop
git pull origin develop
Expand Down

0 comments on commit 338ecb4

Please sign in to comment.