c443bc40fa
Motivation: Just use MAVEN_OPTS to setup all the timeouts etc for dependency downloads. This way we at least can be sure these are applied. Modifications: - Use MAVEN_OPTS - Remove ci profile - Remove unused settings.xml file - Always use ./mvnw Result: Build stability improvements
15 lines
317 B
Bash
Executable File
15 lines
317 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$#" -ne 3 ]; then
|
|
echo "Expected release.properties file, repository name and branch"
|
|
exit 1
|
|
fi
|
|
|
|
TAG=$(grep scm.tag= "$1" | cut -d'=' -f2)
|
|
git remote set-url origin git@github.com:"$2".git
|
|
git fetch
|
|
git checkout "$3"
|
|
./mvnw -B --file pom.xml release:rollback
|
|
git push origin :"$TAG"
|