Polish 2.0.x pipeline.
This commit is contained in:
37
README.adoc
37
README.adoc
@@ -69,43 +69,6 @@ This will generate the artifact.
|
||||
|
||||
You can also import the project into your IDE.
|
||||
|
||||
== Releasing Spring Session MongoDB
|
||||
|
||||
To do a release (.RELEASE, .RC?, .M?):
|
||||
|
||||
. Check in all changes and ensure there are no edited files.
|
||||
. Run `ci/create-release-2.0.x.sh <release version> <snapshot version>` e.g. (`ci/create-release-2.0.x.sh 2.1.1.RELEASE 2.1.2.BUILD-SNAPSHOT`)
|
||||
|
||||
From here, test things out locally.
|
||||
|
||||
. `git checkout release-2.0.x`
|
||||
. `./mvnw clean package`
|
||||
. ...do all your testing...
|
||||
|
||||
Once verified, push the `release-2.0.x` branch to `origin` and let the CI server deploy it.
|
||||
|
||||
. `git push`
|
||||
|
||||
After a clean release, switch back to 2.0.x branch and push it.
|
||||
|
||||
. `git checkout 2.0.x`
|
||||
. `git push`
|
||||
. `git push --tags`
|
||||
|
||||
//To deploy your changes:
|
||||
//
|
||||
//. `git checkout release`
|
||||
//. Execute a maven deploy.
|
||||
//* For a milestone: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,milestone,docs clean deploy`
|
||||
//* For a release: `USERNAME=<user> PASSWORD=<encrypted password> ./mvnw -Pdistribute,release,docs clean deploy`
|
||||
//* For a release to maven central: `USERNAME=<user> PASSWORD=<nexus password> ./mvnw -Pdistribute,gpg,central clean deploy -s settings.xml` (At SonaType, *close* and *releases*)
|
||||
//. Inspect handiwork at https://repo.spring.io/ or https://oss.sonatype.org/#stagingRepositories
|
||||
|
||||
|
||||
CI server should build the new snapshot and automatically deploy to artifactory.
|
||||
|
||||
NOTE: A word about reference documentation. Based upon https://github.com/spring-projects/spring-framework/wiki/gradle-build-and-release-faq#user-content-wiki-docs_schema_dist_publication[this], the `distribute` profile contains an artifactory property that is applied to the ZIP file generated by the `docs` profile. A CRON job will scoop up the zipped up docs and unpack them inside the target location.
|
||||
|
||||
== Code of Conduct
|
||||
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
|
||||
By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
|
||||
|
||||
Reference in New Issue
Block a user