mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 20:49:21 +00:00
25 lines
553 B
Bash
25 lines
553 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd $(dirname $0)/../../../.
|
||
|
|
||
|
oldVersion=1.6.1
|
||
|
newVersion=1.6.2
|
||
|
|
||
|
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" \
|
||
|
-o -name "copy_dbs.sh" \
|
||
|
\) -exec sed -i '' s/$oldVersion/$newVersion/ {} +
|
||
|
|