2019-02-20 17:47:10 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $(dirname $0)/../../../
|
|
|
|
|
2019-06-04 10:49:00 +02:00
|
|
|
oldVersion=1.1.1
|
|
|
|
newVersion=1.1.2
|
2019-02-20 17:47:10 +01:00
|
|
|
|
|
|
|
find . -type f \( -name "finalize.sh" \
|
|
|
|
-o -name "create_app.sh" \
|
|
|
|
-o -name "build.gradle" \
|
|
|
|
-o -name "release.bat" \
|
|
|
|
-o -name "package.bat" \
|
|
|
|
-o -name "release.sh" \
|
|
|
|
-o -name "package.sh" \
|
|
|
|
-o -name "version.txt" \
|
|
|
|
-o -name "Dockerfile" \
|
|
|
|
\) -exec sed -i '' s/"$oldVersion-SNAPSHOT"/$newVersion/ {} +
|
|
|
|
|
|
|
|
find . -type f \( -name "Info.plist" \
|
|
|
|
-o -name "SeedNodeMain.java" \
|
|
|
|
-o -name "Version.java" \
|
|
|
|
\) -exec sed -i '' s/$oldVersion/$newVersion/ {} +
|
|
|
|
|