diff --git a/publish.sh b/publish.sh index a150a43..6200e35 100644 --- a/publish.sh +++ b/publish.sh @@ -11,6 +11,7 @@ git checkout npm git checkout master -- package.json git checkout master -- README.md sed -i '' -e 's|"name": ".root.greenlock"|"name": "greenlock"|' package.json +sed -i '' -e 's|.root.greenlock|greenlock|' README.md npm install --save @root/greenlock@latest git add package* README.md || true git commit -m "bump" || true