...
Info | ||
---|---|---|
| ||
Send a [DISCUSS] email to dev@geode.apache.org informing developers that a new release branch is about to be created. Request developers to respond back if they are waiting to finish a JIRA issue, or feel that a particular JIRA / fix must be included in the release. Request they also confirm that the Geode LICENSE and NOTICE files been confirmed to accurately reflect what is on develop. Once this Once the discussion comes to a conclusion and everything that is necessary for the release is present in the develop branch we start with creating the release branch. |
...
- gradle.properties
- update versionNumber to the next release version (for example: if you created release branch for 1.8.0 update version number to 1.9.0 in the below files in develop branch)
- ensure that releaseType has -SNAPSHOT in it.
- geode-core/src/main/java/org/apache/geode/internal/Version.java
Add the new ordinal
Code Block language java title New ordinal //Add 5 to the previous ordinal private static final byte GEODE_190_ORDINAL = 100;
Add the new version
Code Block language java title Adding the new version public static final Version GEODE_190 = new Version("GEODE", "1.9.0", (byte) 1, (byte) 9, (byte) 0, (byte) 0, GEODE_190_ORDINAL);
Set the current version to the new version
Code Block language java title Set current to new version public static final Version CURRENT = GEODE_190;
Update the highest version
Code Block language java title Set current to new version public static final int HIGHEST_VERSION = 105;
- geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
Add the next version to addCommands
Code Block language java title CommandInitializer ALL_COMMANDS.put(Version.GEODE_190, commands);
- Update the version in geode-book/config.yml and geode-book/redirects.rb on develop.
Update the expected-pom.xml files
Info title Updating the expected-pom files - build geode after the version is updated in gradle.properties. NOTE:The build will fail but will have the correct pom-default.xml files
Code Block language bash title gradle build ./gradlew clean build -Dskip.tests=true
- Update dependency versions using gradle task updateExpectedPom.
Code Block language bash title gradle uEP ./gradlew uEP
- Publish the develop branch to origin
Code Block title Publish the release branchchanges to develop git add . git commit -a -m "Upgraded version number for releasing 1.x.x" pit push origin develop
Update the benchmark baseline to the release branch you just created.
E.g. in ci/pipelines/shared/jinja.variables.yml around line 59:
Code Block set baseline_branch: "release/1.10.0" set baseline_version: ""
Update the version in geode-example develop branch.
Update the version in gradle.properties to the next release's snapshot
Code Block language bash git checkout develop version = 1.9.0-SNAPSHOT geodeVersion = 1.9.0-SNAPSHOT git add -p git commit git push origin HEAD
In Jira, add new version of develop: go to https://issues.apache.org/jira/projects/GEODE?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page and fill in the new version and click Add.
...