Skip to content

Commit 11dd96b

Browse files
authored
Update make-podspec.sh
1 parent f5ae881 commit 11dd96b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ios/xcframewrok/make-podspec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
1818
cd "$THIS_DIR"
1919

2020
set -e
21-
version=${1:-$(grep -m 1 VERSION_NAME= ../../version.sh | awk -F = '{printf "k%s",$2}')}
21+
version=${1:-$(grep -m 1 VERSION_NAME= ../../version.sh | awk -F = '{printf "%s",$2}')}
2222

2323
fn=IJKMediaFramework.spec.json
2424
cat 'template.spec.json' \
2525
| sed "s/__VERSION__/${version}/" \
26-
> "${fn}"
26+
> "${fn}"

0 commit comments

Comments
 (0)