|
|
@ -22,12 +22,12 @@ folders+=( |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$1" ]; then |
|
|
|
if [ -z "$1" ]; then |
|
|
|
echo "Specify Compose version. For example: ./replace.sh 1.2.0-beta02 1.7.10" |
|
|
|
echo "Specify Compose version. For example: ./replaceVersion.sh 1.2.0-beta02 1.7.10" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$2" ]; then |
|
|
|
if [ -z "$2" ]; then |
|
|
|
echo "Specify Kotlin version. For example: ./replace.sh 1.2.0-beta02 1.7.10" |
|
|
|
echo "Specify Kotlin version. For example: ./replaceVersion.sh 1.2.0-beta02 1.7.10" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
@ -66,4 +66,4 @@ for folder in "${folders[@]}" |
|
|
|
do |
|
|
|
do |
|
|
|
replaceVersionInFolder $folder "**gradle.properties" |
|
|
|
replaceVersionInFolder $folder "**gradle.properties" |
|
|
|
replaceVersionInFolder $folder "**README.md" |
|
|
|
replaceVersionInFolder $folder "**README.md" |
|
|
|
done |
|
|
|
done |
|
|
|