diff --git a/multi/multi__spring_cloud_release_tools.html b/multi/multi__spring_cloud_release_tools.html index 1714972a..5ffd2528 100644 --- a/multi/multi__spring_cloud_release_tools.html +++ b/multi/multi__spring_cloud_release_tools.html @@ -2,7 +2,7 @@
Spring Cloud projects reuse the same pattern of building and deploying the applications. That’s why this tool makes it easy to automate the release / dependency update process of our applications.
For a single project
Modifies the project versions with values from SC-Release
Performs the build and checks if the docs modules have properly created the documentation
docs module there’s an unresolved tag in any HTML filespring-cloud-static for non-snapshots, to gh-pages for snapshots)1.0.1.RELEASE → 1.0.2.BUILD-SNAPSHOT) (ONLY FOR RELEASE VERSIONS)v1.0.1.RELEASE) (ONLY FOR NON-SNAPSHOT VERSIONS)![]() | Important |
|---|---|
Starting with version that does Sagan integration, you MUST pass the OAuth token, -otherwise the application will fail to start |
After project release
target/email.txt (ONLY FOR NON-SNAPSHOT VERSIONS)target/blog.md (ONLY FOR NON-SNAPSHOT VERSIONS)target/tweet.txt (ONLY FOR NON-SNAPSHOT VERSIONS)target/notes.md (ONLY FOR NON-SNAPSHOT VERSIONS)GA/ SR release will create an issue in Spring Guides under https://github.com/spring-guides/getting-started-guides/issues/GA/ SR release will update the links under https://github.com/spring-cloud/spring-cloud-static/tree/gh-pages/currentspring-cloud-sleuth: 2.1.0.RELEASE)From the version analyzes the branch and checks it out. E.g.
spring-cloud-release’s `Finchley.RELEASE version will resolve either Finchley.x branch or will fallback to master if there’s no Finchley.x branch.spring-cloud-sleuth’s `2.1.0.RELEASE version will resolve 2.1.x branch![]() | Important |
|---|---|
For the meta-releaser to work we assume that the path to the +otherwise the application will fail to start |
After project release
target/email.txt (ONLY FOR NON-SNAPSHOT VERSIONS)target/blog.md (ONLY FOR NON-SNAPSHOT VERSIONS)target/tweet.txt (ONLY FOR NON-SNAPSHOT VERSIONS)target/notes.md (ONLY FOR NON-SNAPSHOT VERSIONS)GA/ SR release will create an issue in Spring Guides under https://github.com/spring-guides/getting-started-guides/issues/GA/ SR release will update the links under https://github.com/spring-cloud/spring-cloud-static/tree/gh-pages/currentspring-cloud-sleuth: 2.1.0.RELEASE)From the version analyzes the branch and checks it out. E.g.
spring-cloud-release’s `Finchley.RELEASE version will resolve either Finchley branch or will fallback to master if there’s no Finchley branch.spring-cloud-sleuth’s `2.1.0.RELEASE version will resolve 2.1.x branch![]() | Important |
|---|---|
For the meta-releaser to work we assume that the path to the
custom configuration file for each project is always |
Members of the Spring Cloud Team typically use this tool as follows. They first clone the releaser locally and build the jar manually
$ git clone git@github.com:spring-cloud/spring-cloud-release-tools.git $ cd spring-cloud-release-tools diff --git a/single/spring-cloud-release-tools.html b/single/spring-cloud-release-tools.html index b373ffc8..e3c7cfab 100644 --- a/single/spring-cloud-release-tools.html +++ b/single/spring-cloud-release-tools.html @@ -2,7 +2,7 @@Spring Cloud Release Tools Table of Contents
Spring Cloud projects reuse the same pattern of building and deploying the applications. That’s why this tool makes it easy to automate the release / dependency update process of our applications.
For a single project
- Clones the Spring Cloud Release project and picks all versions (Boot + Cloud projects)
Modifies the project versions with values from SC-Release
- throws an exception when we bump versions to release and there’s a SNAPSHOT version referenced in the POM
Performs the build and checks if the
docsmodules have properly created the documentation
- throws an exception when in the
docsmodule there’s an unresolved tag in any HTML file- Commits changed poms (ONLY FOR NON-SNAPSHOT VERSIONS)
- Creates a tag for the release / milestone (ONLY FOR NON-SNAPSHOT VERSIONS)
- Runs the deployment of the artifacts
- Publishes the docs (to
spring-cloud-staticfor non-snapshots, togh-pagesfor snapshots)- Reverts back to snapshots, bumps the version by a patch (
1.0.1.RELEASE→1.0.2.BUILD-SNAPSHOT) (ONLY FOR RELEASE VERSIONS)- Closes the milestone on Github (e.g.
v1.0.1.RELEASE) (ONLY FOR NON-SNAPSHOT VERSIONS)
Important Starting with version that does Sagan integration, you MUST pass the OAuth token, -otherwise the application will fail to start
After project release
- Generates an email template under
target/email.txt(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a blog template under
target/blog.md(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a tweet template under
target/tweet.txt(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a release notes template under
target/notes.md(ONLY FOR NON-SNAPSHOT VERSIONS)- Updates project information in Sagan (http://spring.io) (ONLY FOR SNAPSHOT / RELEASE VERSIONS)
- For
GA/SRrelease will create an issue in Spring Guides under https://github.com/spring-guides/getting-started-guides/issues/- For
GA/SRrelease will update the links under https://github.com/spring-cloud/spring-cloud-static/tree/gh-pages/current
- Uses the fixed versions to clone and check out each project (e.g.
spring-cloud-sleuth: 2.1.0.RELEASE)From the version analyzes the branch and checks it out. E.g.
- for
spring-cloud-release’s `Finchley.RELEASEversion will resolve eitherFinchley.xbranch or will fallback tomasterif there’s noFinchley.xbranch.- for
spring-cloud-sleuth’s `2.1.0.RELEASEversion will resolve2.1.xbranch- Performs the release tasks per each project
- Performs the post release tasks at the end of the release
Important For the meta-releaser to work we assume that the path to the +otherwise the application will fail to start
After project release
- Generates an email template under
target/email.txt(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a blog template under
target/blog.md(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a tweet template under
target/tweet.txt(ONLY FOR NON-SNAPSHOT VERSIONS)- Generates a release notes template under
target/notes.md(ONLY FOR NON-SNAPSHOT VERSIONS)- Updates project information in Sagan (http://spring.io) (ONLY FOR SNAPSHOT / RELEASE VERSIONS)
- For
GA/SRrelease will create an issue in Spring Guides under https://github.com/spring-guides/getting-started-guides/issues/- For
GA/SRrelease will update the links under https://github.com/spring-cloud/spring-cloud-static/tree/gh-pages/current
- Uses the fixed versions to clone and check out each project (e.g.
spring-cloud-sleuth: 2.1.0.RELEASE)From the version analyzes the branch and checks it out. E.g.
- for
spring-cloud-release’s `Finchley.RELEASEversion will resolve eitherFinchleybranch or will fallback tomasterif there’s noFinchleybranch.- for
spring-cloud-sleuth’s `2.1.0.RELEASEversion will resolve2.1.xbranch- Performs the release tasks per each project
- Performs the post release tasks at the end of the release
Important For the meta-releaser to work we assume that the path to the custom configuration file for each project is always
config/releaser.yml.Members of the Spring Cloud Team typically use this tool as follows. They first clone the releaser locally and build the jar manually
$ git clone git@github.com:spring-cloud/spring-cloud-release-tools.git $ cd spring-cloud-release-tools diff --git a/spring-cloud-release-tools.xml b/spring-cloud-release-tools.xml index 7e22c62a..fea4778f 100644 --- a/spring-cloud-release-tools.xml +++ b/spring-cloud-release-tools.xml @@ -4,7 +4,7 @@Spring Cloud Release Tools -2018-06-26 +2018-06-28 Spring Cloud Release Tools @@ -93,7 +93,7 @@ otherwise the application will fail to startFrom the version analyzes the branch and checks it out. E.g. - for +spring-cloud-release’s `Finchley.RELEASE version will resolve eitherFinchley.x branch or will fallback tomaster if there’s noFinchley.x branch.for spring-cloud-release’s `Finchley.RELEASE version will resolve eitherFinchley branch or will fallback tomaster if there’s noFinchley branch.for spring-cloud-sleuth’s `2.1.0.RELEASE version will resolve2.1.x branch