Commit 3600533f authored by Phillip Webb's avatar Phillip Webb

Add helper to set version

parent d86bf666
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-build-all</artifactId>
<version>0.5.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging>
<prerequisites>
<maven>3.0.0</maven>
</prerequisites>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
</properties>
<modules>
<module>../..</module>
<module>../../spring-boot-samples</module>
</modules>
</project>
\ No newline at end of file
if [ -z "$1" ]; then
echo "Specify the new version"
exit 1
fi
cd ../../spring-boot-dependencies
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1
cd ..
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1
cd buildhelper/all
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1
mvn -N versions:update-child-modules -DgenerateBackupPoms=false
cd ../../spring-boot-starters
mvn -N validate
cd ../buildhelper/all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment