Files
react-add-to-calendar/scripts/release.sh
T

23 lines
321 B
Bash
Raw Normal View History

#!/usr/bin/env bash
rm -rf ./node_modules ./lib ./dist
npm install
git checkout .
npm version $1
2016-10-06 16:12:34 -07:00
react-docgen ./src/*.js --resolver findAllComponentDefinitions | ./scripts/buildDocs.sh
git add .
git commit -m "Publish new API docs (automated commit)"
git push
git push --tags
npm publish
./docs-site/publish.sh