diff --git a/binders/kafka-binder/update-version.sh b/binders/kafka-binder/update-version.sh deleted file mode 100755 index bc0672b8e..000000000 --- a/binders/kafka-binder/update-version.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -#Execute this script from local checkout of spring cloud stream - -./mvnw versions:update-parent -DparentVersion=[0.0.1,$2] -Pspring -DgenerateBackupPoms=false -DallowSnapshots=true -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false - - - -lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT|M[0-9]|RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No snapshots found" -else - echo "Snapshots found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "M[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No milestones found" -else - echo "Milestones found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No release candidates found" -else - echo "Release candidates found." -fi diff --git a/binders/rabbit-binder/update-version.sh b/binders/rabbit-binder/update-version.sh deleted file mode 100755 index bc0672b8e..000000000 --- a/binders/rabbit-binder/update-version.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -#Execute this script from local checkout of spring cloud stream - -./mvnw versions:update-parent -DparentVersion=[0.0.1,$2] -Pspring -DgenerateBackupPoms=false -DallowSnapshots=true -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false - - - -lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT|M[0-9]|RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No snapshots found" -else - echo "Snapshots found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "M[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No milestones found" -else - echo "Milestones found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No release candidates found" -else - echo "Release candidates found." -fi diff --git a/bom/update-version.sh b/bom/update-version.sh deleted file mode 100755 index 67cd7161e..000000000 --- a/bom/update-version.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -#Execute this script from local checkout of spring cloud stream - -./mvnw versions:update-parent -DparentVersion=[0.0.1,$2] -Pspring -DgenerateBackupPoms=false -DallowSnapshots=true -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false -pl :spring-cloud-stream-dependencies -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false -pl spring-cloud-stream-docs - - - -lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT|M[0-9]|RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No snapshots found" -else - echo "Snapshots found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "M[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No milestones found" -else - echo "Milestones found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No release candidates found" -else - echo "Release candidates found." -fi