mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add script for renaming version numbers for a new release
This commit is contained in:
parent
b4b5d0bb12
commit
57c8e9006a
23
desktop/package/macosx/replace_version_number.sh
Executable file
23
desktop/package/macosx/replace_version_number.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(dirname $0)/../../../
|
||||
|
||||
oldVersion=0.9.3
|
||||
newVersion=0.9.4
|
||||
|
||||
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/ {} +
|
||||
|
Loading…
Reference in New Issue
Block a user