-
Notifications
You must be signed in to change notification settings - Fork 2
Create a New Release
Craig Vitter edited this page Jul 3, 2016
·
2 revisions
Before creating a new release of the JDBC Driver (https://github.com/cvitter/Riak-TS-JDBC-Driver/releases) you need to update the following files:
pom.xml:
- Increment the
<version>0.5</version>
tag to the correct value for the new release.
Driver.java:
- Update the following variables to the correct value for the new release:
private static int MAJOR_VERSION = 0;
private static int MINOR_VERSION = 5;
DatabaseMetaData.java:
- Update the following variables to the correct value for the new release:
private static String DRIVER_VERSION = "0.5";
private static int DRIVER_MAJOR_VERSION = 0;
private static int DRIVER_MINOR_VERSION = 5;
- If the driver release is related to the release of an updated version of Riak TS you should also update the following variable to reflect the latest version of Riak TS that the driver supports:
private static String DATABASE_PRODUCT_VERSION = "1.3";
After updating the three files above build the driver using: MVN INSTALL
.
When the build completes Commit and Push the changes to the repository and then perform the following steps to create the new release:
- Click on Releases from the repos main page (https://github.com/cvitter/Riak-TS-JDBC-Driver)
- Click on Draft a new release
- Enter a new Tag version that matches the new release number
- Enter a new Release title in the following format: Version X.X
- Fill in the release description with details about the changes that are included in the release
- Attach the completed JAR file (riakts.jdbc.driver-X.X-jar-with-dependencies.jar)
- Click on This is a pre-release is appropriate (e.g. a less than 1.0 release, an RC release, or a snapshot)
- Click on Publish release or Save draft