bump.sh 311 B

12345678
  1. #!/bin/bash
  2. # Bump the shell version: npm run bump -- patch|minor|major
  3. # Then log the change in ../CHANGELOG.md and run `npm run dist`.
  4. set -euo pipefail
  5. cd "$(dirname "$0")/.."
  6. PART="${1:-patch}"
  7. npm version "$PART" --no-git-tag-version
  8. echo "→ 登记到 ../CHANGELOG.md,然后 npm run dist 重新打包"