15 lines
304 B
Bash
Executable File
15 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Find source dir
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd "$DIR"
|
|
|
|
# Bump version
|
|
find ../ -name '*.podspec' \
|
|
-not -path "../Carthage/*" \
|
|
-not -path "../*/Carthage/*" \
|
|
-not -path "../Pods/*" \
|
|
-not -path "../*/Pods/*" \
|
|
| xargs -I% npx podspec-bump -i "$1" -w -p %
|