release.sh 387 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. set -e # always immediately exit upon error
  3. cd "`dirname $0`/.." # start in project root
  4. read -p "Do you want to update the example dates? (y/N): " yn
  5. if [[ "$yn" == "y" ]]
  6. then
  7. ./scripts/update-example-dates.sh
  8. fi
  9. npm run ci
  10. npm run archive
  11. # after version script completes, will call postversion hook, which calls `monorepo publish`
  12. npx monorepo version