🔐 Free SSL, Free Wildcard SSL, and Fully Automated HTTPS for node.js, issued by Let's Encrypt v2 via ACME. Issues and PRs on Github.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -u
|
|
|
|
|
|
|
|
git fetch --all
|
|
|
|
git checkout master
|
|
|
|
git pull origin master
|
|
|
|
|
|
|
|
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
|
|
|
|
sed -i '' '/bin.greenlock.js/d' package.json
|
|
|
|
npm install --save @root/greenlock@latest
|
|
|
|
git add package* README.md || true
|
|
|
|
git commit -m "bump" || true
|
|
|
|
npm publish ./
|
|
|
|
git reset --hard
|