haveno-reto/desktop/package/macosx/insert_snapshot_version.sh

17 lines
352 B
Bash
Raw Normal View History

2021-05-05 02:20:01 +02:00
#!/bin/bash
cd $(dirname $0)/../../../
2022-07-15 18:08:37 +02:00
version=0.0.1
2021-05-05 02:20:01 +02: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/$version/"$version-SNAPSHOT"/ {} +