This commit is contained in:
Marcin Grzejszczak
2017-06-08 12:35:49 +02:00
parent 5f0fc71e6f
commit 914e4c7023
5 changed files with 15 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud.internal</groupId>
<artifactId>spring-cloud-release-tools-parent</artifactId>
<version>1.0.0.M1</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
</parent>
<artifactId>spring-cloud-release-tools-docs</artifactId>
<packaging>pom</packaging>

View File

@@ -32,7 +32,15 @@ why this tool makes it easy to automate the release / dependency update process
=== How to run it
Currently we only support running the Releaser to update the poms from Java
Members of the Spring Cloud Team typically use this tool as follows. They first
clone the releaser locally and build the jar manually
[source,bash]
----
$ git clone git@github.com:spring-cloud/spring-cloud-release-tools.git
$ cd spring-cloud-release-tools
$ ./mvnw clean install
----
Go to your project (e.g. Spring Cloud Sleuth)
@@ -40,8 +48,8 @@ Go to your project (e.g. Spring Cloud Sleuth)
----
$ git clone git@github.com:spring-cloud/spring-cloud-sleuth.git
$ cd spring-cloud-sleuth
$ wget http://repo.spring.io/libs-milestone/org/springframework/cloud/internal/spring-cloud-release-tools-spring/1.0.0.M1/spring-cloud-release-tools-spring-1.0.0.M1.jar -O spring-cloud-release-tools-spring-1.0.0.M1.jar
$ java -jar spring-cloud-release-tools-spring-1.0.0.M1.jar
$ # example of running the releaser agains Dalston.SR1 tag
$ java -jar ~/repo/spring-cloud-release-tools/spring-cloud-release-tools-spring/target/spring-cloud-release-tools-spring-*.jar --releaser.pom.branch=vDalston.SR1 --spring.config.name=releaser
----
The application will start running from your working directory.

View File

@@ -6,7 +6,7 @@
<groupId>org.springframework.cloud.internal</groupId>
<artifactId>spring-cloud-release-tools-parent</artifactId>
<version>1.0.0.M1</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>

View File

@@ -6,7 +6,7 @@
<groupId>org.springframework.cloud.internal</groupId>
<artifactId>spring-cloud-release-tools-core</artifactId>
<version>1.0.0.M1</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>

View File

@@ -6,7 +6,7 @@
<groupId>org.springframework.cloud.internal</groupId>
<artifactId>spring-cloud-release-tools-spring</artifactId>
<version>1.0.0.M1</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>