forked from k2-fsa/sherpa-onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
new-release.sh
executable file
·19 lines (14 loc) · 1020 Bytes
/
new-release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
set -ex
sed -i.bak 's/1\.10\.35/1\.10\.36/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.35/1\.10\.36/g' ./pom.xml
sed -i.bak 's/1\.10\.35/1\.10\.36/g' ./jitpack.yml
sed -i.bak 's/1\.10\.35/1\.10\.36/g' ./android/SherpaOnnxAar/README.md
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.35/sherpa-onnx:v1\.10\.36/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.35/1\.10\.36/g' {} \;