From a6c639972950975cdacfc9262c250f7dafa11e84 Mon Sep 17 00:00:00 2001 From: Adam Murdoch Date: Wed, 2 Apr 2014 19:28:19 +1100 Subject: [PATCH] Forgot to update the native interface version. --- readme.md | 16 ++++++++++------ .../internal/jni/NativeLibraryFunctions.java | 2 +- src/shared/headers/generic.h | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 8224cbb..d058683 100755 --- a/readme.md +++ b/readme.md @@ -89,6 +89,10 @@ Some sample code to use the terminal: ## Changes +### 0.10 + +* Fixes for broken 0.9 release. + ### 0.9 * Fixes for non-ascii file names on OS X when running under the Apple JVM. @@ -177,15 +181,15 @@ You can run `$INSTALL_DIR/bin/native-platform-test` to run the test application. # Releasing 1. Check the version number in `build.gradle`. -2. Create a tag. -3. Build each variant: +2. Check that the native interface version has been incremented since last release, when changes have been made to native code. +3. Create a tag. +4. Build each variant: 1. Checkout tag. - 2. `./gradlew clean :test :uploadJni -Prelease -PartifactoryUserName=<> -PartifactoryPassword=<>`. On FreeBSD i386, - also need `GRADLE_OPTS=-Dos.arch=hack`. -4. Build Java library and test app: + 2. `./gradlew clean :test :uploadJni -Prelease -PartifactoryUserName=<> -PartifactoryPassword=<>`. +5. Build Java library and test app: 1. Checkout tag. 2. `./gradlew clean :test :uploadArchives testApp:uploadArchives -Prelease -PartifactoryUserName=<> -PartifactoryPassword=<>` -5. Checkout master +6. Checkout master 7. Increment version number in `build.gradle` and this readme. 8. Push tag and changes. diff --git a/src/main/java/net/rubygrapefruit/platform/internal/jni/NativeLibraryFunctions.java b/src/main/java/net/rubygrapefruit/platform/internal/jni/NativeLibraryFunctions.java index 62d59f7..2991b8b 100755 --- a/src/main/java/net/rubygrapefruit/platform/internal/jni/NativeLibraryFunctions.java +++ b/src/main/java/net/rubygrapefruit/platform/internal/jni/NativeLibraryFunctions.java @@ -20,7 +20,7 @@ import net.rubygrapefruit.platform.internal.FunctionResult; import net.rubygrapefruit.platform.internal.MutableSystemInfo; public class NativeLibraryFunctions { - public static final int VERSION = 18; + public static final int VERSION = 19; public static native int getVersion(); diff --git a/src/shared/headers/generic.h b/src/shared/headers/generic.h index bee86b8..a44e5d6 100755 --- a/src/shared/headers/generic.h +++ b/src/shared/headers/generic.h @@ -23,7 +23,7 @@ extern "C" { #endif -#define NATIVE_VERSION 18 +#define NATIVE_VERSION 19 /* * Marks the given result as failed, using the given error message