git checkout master
git pull
git merge --no-ff --no-verify  -m "merge release/$1 into master" release/$1
npm run changelog
git add CHANGELOG.md
npm run docs
git add docs/index.html
git commit --amend --no-verify  -m "merge release/$1 into master"
git tag v$1
git push --no-verify
git push origin --no-verify v$1
git checkout develop
git merge --no-ff --no-verify  -m "merge release/$1 into develop" release/$1
git diff develop master -- CHANGELOG.md > patchfile
git apply patchfile