You've already forked react-add-to-calendar
mirror of
https://github.com/encounter/react-add-to-calendar.git
synced 2026-03-30 11:35:41 -07:00
23 lines
321 B
Bash
Executable File
23 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
rm -rf ./node_modules ./lib ./dist
|
|
npm install
|
|
|
|
git checkout .
|
|
|
|
npm version $1
|
|
|
|
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
|