Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "MicroProfile/FaultTolerance/Release"
(Created page with "= How to perform a release = The following process applies to any release, including milestones, release candidates and final. I have not got it working on Windows. Other OS...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
## Clone the [https://github.com/eclipse/microprofile-fault-tolerance/tree/master MicroProfile FT master repository] | ## Clone the [https://github.com/eclipse/microprofile-fault-tolerance/tree/master MicroProfile FT master repository] | ||
## Run the [https://github.com/eclipse/microprofile-config/blob/master/perform_release/prepare_release.sh prepare_release.sh] script (specify required env vars before) - it should create a tag and push it to the upstream repository | ## Run the [https://github.com/eclipse/microprofile-config/blob/master/perform_release/prepare_release.sh prepare_release.sh] script (specify required env vars before) - it should create a tag and push it to the upstream repository | ||
− | ### export RELEASE_VERSION=1.0- | + | ### export RELEASE_VERSION=1.0-RC1 |
### export DEV_VERSION=1.0-SNAPSHOT | ### export DEV_VERSION=1.0-SNAPSHOT | ||
### export GIT_USER='John Doe' | ### export GIT_USER='John Doe' | ||
Line 16: | Line 16: | ||
## Send information about the created tag and artifact to review the release, e.g. on mailing-list | ## Send information about the created tag and artifact to review the release, e.g. on mailing-list | ||
### Git tag is in the [https://github.com/eclipse/microprofile-fault-tolerance source repository] | ### Git tag is in the [https://github.com/eclipse/microprofile-fault-tolerance source repository] | ||
− | ### artifacts (API, TCK, PDF?) are in the [https://repo.eclipse.org/content/groups/microprofile/org/eclipse/microprofile/ | + | ### artifacts (API, TCK, PDF?) are in the [https://repo.eclipse.org/content/groups/microprofile/org/eclipse/microprofile/fault-tolerance/ Eclipse repository] |
== How to perform a release of a final version == | == How to perform a release of a final version == | ||
Line 26: | Line 26: | ||
## set BASE_REVISION variable to the name of the release candidate tag | ## set BASE_REVISION variable to the name of the release candidate tag | ||
## increase DEV_VERSION to point to the next snapshot version | ## increase DEV_VERSION to point to the next snapshot version | ||
− | # Publish the final artifact to Maven central - follow instructions in the script [https://github.com/eclipse/microprofile-fault-tolerance/blob/master/ | + | # Publish the final artifact to Maven central - follow instructions in the script [https://github.com/eclipse/microprofile-fault-tolerance/blob/master/perform-release/deploy_to_maven_central.sh deploy_to_maven_central.sh] |
# announce the final version | # announce the final version | ||
# increase the snapshot version in master: merge the intermediary branch branch_$RELEASE_VERSION created locally by the script to master and push master: | # increase the snapshot version in master: merge the intermediary branch branch_$RELEASE_VERSION created locally by the script to master and push master: |
Latest revision as of 18:19, 3 September 2017
How to perform a release
The following process applies to any release, including milestones, release candidates and final. I have not got it working on Windows. Other OS is fine.
- Prepare the release
- Clone the MicroProfile FT master repository
- Run the prepare_release.sh script (specify required env vars before) - it should create a tag and push it to the upstream repository
- export RELEASE_VERSION=1.0-RC1
- export DEV_VERSION=1.0-SNAPSHOT
- export GIT_USER='John Doe'
- export GIT_EMAIL='john_doe@gmail.com'
- Deploy artifacts into Eclipse repository
- Logon to Jenkins (register for an account if you don't have a Jenkins account)
- Go to https://ci.eclipse.org/microprofile/job/FaultTolerance-deploy-prerelease-artifacts/ and then click on "Build with Parameters"
- Download the PDF document from the Jenkins job and from in the workspace and copy it to github release page (this step could be removed if we release it to a maven repo)
- Notify MicroProfile community about the new version
- Send information about the created tag and artifact to review the release, e.g. on mailing-list
- Git tag is in the source repository
- artifacts (API, TCK, PDF?) are in the Eclipse repository
- Send information about the created tag and artifact to review the release, e.g. on mailing-list
How to perform a release of a final version
Do the steps above for a release candidate, except increase the development version instead of leaving it the same as before
If a release candidate is approved, it can be turned into final
- Run the above steps for the final version, but:
- set BASE_REVISION variable to the name of the release candidate tag
- increase DEV_VERSION to point to the next snapshot version
- Publish the final artifact to Maven central - follow instructions in the script deploy_to_maven_central.sh
- announce the final version
- increase the snapshot version in master: merge the intermediary branch branch_$RELEASE_VERSION created locally by the script to master and push master:
- git checkout master
- git merge branch_$RELEASE_VERSION
- git push origin master