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