diff --git a/publish.sh b/publish.sh index 2b639fa..e835493 100644 --- a/publish.sh +++ b/publish.sh @@ -10,6 +10,8 @@ git pull origin master git checkout npm git checkout master -- package.json git checkout master -- README.md +git add package* README.md || true +git commit -m "bump" || true sed -i '' -e 's|"name": ".root.greenlock"|"name": "greenlock"|' package.json npm install --save @root/greenlock@latest npm publish ./