Skip to content

Commit

Permalink
Robustify release script
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed May 5, 2023
1 parent 7aeba61 commit d66f5a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ else
fi

# testing all versions
./set-version.sh 3.0.3 2.12.10 && mvn clean deploy -Dsign && ./test-release.sh || exit 1
./set-version.sh 3.1.3 2.12.10 && mvn clean deploy -Dsign && ./test-release.sh || exit 1
./set-version.sh 3.2.4 2.12.15 && mvn clean deploy -Dsign && ./test-release.sh || exit 1
./set-version.sh 3.3.2 2.12.15 && mvn clean deploy -Dsign && ./test-release.sh || exit 1
./set-version.sh 3.4.0 2.12.17 && mvn clean deploy -Dsign && ./test-release.sh || exit 1
./set-version.sh 3.0.3 2.12.10; mvn clean deploy -Dsign; ./test-release.sh
./set-version.sh 3.1.3 2.12.10; mvn clean deploy -Dsign; ./test-release.sh
./set-version.sh 3.2.4 2.12.15; mvn clean deploy -Dsign; ./test-release.sh
./set-version.sh 3.3.2 2.12.15; mvn clean deploy -Dsign; ./test-release.sh
./set-version.sh 3.4.0 2.12.17; mvn clean deploy -Dsign; ./test-release.sh

# stop dgraph test instance
docker stop "$docker"
Expand Down Expand Up @@ -111,11 +111,11 @@ echo

# create release
echo "Creating release packages"
./set-version.sh 3.0.3 2.12.10 && mvn clean deploy -Dsign && mvn nexus-staging:release
./set-version.sh 3.1.3 2.12.10 && mvn clean deploy -Dsign && mvn nexus-staging:release
./set-version.sh 3.2.4 2.12.15 && mvn clean deploy -Dsign && mvn nexus-staging:release
./set-version.sh 3.3.2 2.12.15 && mvn clean deploy -Dsign && mvn nexus-staging:release
./set-version.sh 3.4.0 2.12.17 && mvn clean deploy -Dsign && mvn nexus-staging:release
./set-version.sh 3.0.3 2.12.10; mvn clean deploy -Dsign; mvn nexus-staging:release
./set-version.sh 3.1.3 2.12.10; mvn clean deploy -Dsign; mvn nexus-staging:release
./set-version.sh 3.2.4 2.12.15; mvn clean deploy -Dsign; mvn nexus-staging:release
./set-version.sh 3.3.2 2.12.15; mvn clean deploy -Dsign; mvn nexus-staging:release
./set-version.sh 3.4.0 2.12.17; mvn clean deploy -Dsign; mvn nexus-staging:release

echo

Expand Down

0 comments on commit d66f5a8

Please sign in to comment.