From 69e1cbd585e6b2eab40b6e7dc76f52baa098922c Mon Sep 17 00:00:00 2001 From: Samuel Rufinatscha Date: Tue, 6 Dec 2022 13:23:30 +0100 Subject: [PATCH] Prepare iota-wallet 1.0.0-rc.1 release (#1650) * Prepare iota-wallet 1.0.0-rc.1 release * Fix documentation links * Fix command --- .github/workflows/java_binding_publish.yml | 4 ++-- bindings/java/CHANGELOG.md | 2 +- bindings/java/README.md | 2 +- documentation/docs/getting_started/java.mdx | 2 +- .../docs/libraries/java/how_to/_run_how_tos.md | 13 +++++-------- 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/java_binding_publish.yml b/.github/workflows/java_binding_publish.yml index 05f4ebab1..fd231cc21 100644 --- a/.github/workflows/java_binding_publish.yml +++ b/.github/workflows/java_binding_publish.yml @@ -125,7 +125,7 @@ jobs: shell: bash working-directory: bindings/java/ run: | - ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository + ./gradlew publishToSonatype if [ "$RUNNER_OS" == "macOS" ]; - then ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PbuildTarget=aarch64-apple-darwin + then ./gradlew publishToSonatype -PbuildTarget=aarch64-apple-darwin fi \ No newline at end of file diff --git a/bindings/java/CHANGELOG.md b/bindings/java/CHANGELOG.md index 72d4255a1..228a630c7 100644 --- a/bindings/java/CHANGELOG.md +++ b/bindings/java/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> -## 1.0.0-rc.1 - 2022-MM-DD +## 1.0.0-rc.1 - 2022-12-06 ### Added diff --git a/bindings/java/README.md b/bindings/java/README.md index 67feaece8..59c017e6e 100644 --- a/bindings/java/README.md +++ b/bindings/java/README.md @@ -24,7 +24,7 @@ Minimum Java version: Java 8 implementation 'org.iota:iota-wallet:1.0.0-rc.1' ``` -2. Download the `iota-wallet-1.0.0-rc.1-android-jni.zip` file from the GitHub release and unzip it. +2. Download the `iota-wallet-1.0.0-rc.1-android.zip` file from the GitHub release and unzip it. 3. Add the `jniLibs` folder with its contents to your Android Studio project as shown below: ``` diff --git a/documentation/docs/getting_started/java.mdx b/documentation/docs/getting_started/java.mdx index ff9435b10..dabc64bf0 100644 --- a/documentation/docs/getting_started/java.mdx +++ b/documentation/docs/getting_started/java.mdx @@ -17,7 +17,7 @@ Minimum Java version: Java 8 implementation 'org.iota:iota-wallet:1.0.0-rc.1' ``` -2. Download the `iota-wallet-1.0.0-rc.1-android-jni.zip` file from the GitHub release and unzip it. +2. Download the `iota-wallet-1.0.0-rc.1-android.zip` file from the GitHub release and unzip it. 3. Add the `jniLibs` folder with its contents to your Android Studio project as shown below: ``` diff --git a/documentation/docs/libraries/java/how_to/_run_how_tos.md b/documentation/docs/libraries/java/how_to/_run_how_tos.md index cc8f5a274..e97e5f4fa 100644 --- a/documentation/docs/libraries/java/how_to/_run_how_tos.md +++ b/documentation/docs/libraries/java/how_to/_run_how_tos.md @@ -9,20 +9,17 @@ git clone git@github.com:iotaledger/wallet.rs.git Then, move into the Java code by running the following command: ```bash -cd wallet.rs/bindings/java/iota-wallet-java +cd wallet.rs/bindings/java/examples ``` ## Run Code Examples -The IOTA Wallet Java library has numerous [examples](https://github.com/iotaledger/wallet.rs/tree/develop/bindings/java/iota-wallet-java/examples/src) -you can run to get acquainted with the library. After you have followed the instructions to -[install the library](./../getting_started/java#install-the-library), you can run any example with the following +The IOTA Wallet Java library has numerous [examples](https://github.com/iotaledger/wallet.rs/tree/develop/bindings/java/examples/src) +you can run to get acquainted with the library. You can run any example with the following command from the `examples` directory: ```bash -./gradlew run -Pmain=CreateAccount +.././gradlew run -Pmain=CreateAccount ``` -## Examples List - -You can replace the `CreateAccount` by any other example from the [Java examples directory](https://github.com/iotaledger/wallet.rs/tree/develop/bindings/java/iota-wallet-java/examples/src). \ No newline at end of file +You can replace the `CreateAccount` by any other example from the [Java examples directory](https://github.com/iotaledger/wallet.rs/tree/develop/bindings/java/examples/src). \ No newline at end of file