haveno/desktop/package/macosx/insert_snapshot_version.sh
2021-05-04 20:20:01 -04:00

16 lines
352 B
Bash
Executable file

#!/bin/bash
cd $(dirname $0)/../../../
version=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/$version/"$version-SNAPSHOT"/ {} +