From 504b7435446680380ac94c7f79fd070e09c5e94b Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Mon, 11 Sep 2023 15:42:20 -0700 Subject: [PATCH 1/3] update versions to 0.4.0 Signed-off-by: Andrew Whitehead --- libindy_vdr/Cargo.toml | 2 +- wrappers/javascript/indy-vdr-nodejs/package.json | 2 +- wrappers/javascript/indy-vdr-react-native/package.json | 2 +- wrappers/python/indy_vdr/version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libindy_vdr/Cargo.toml b/libindy_vdr/Cargo.toml index c25f7023..4a76d2ba 100644 --- a/libindy_vdr/Cargo.toml +++ b/libindy_vdr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indy-vdr" -version = "0.4.0-dev.16" +version = "0.4.0" authors = [ "Hyperledger Indy Contributors ", ] diff --git a/wrappers/javascript/indy-vdr-nodejs/package.json b/wrappers/javascript/indy-vdr-nodejs/package.json index bf607832..51cbeca2 100644 --- a/wrappers/javascript/indy-vdr-nodejs/package.json +++ b/wrappers/javascript/indy-vdr-nodejs/package.json @@ -50,7 +50,7 @@ "binary": { "module_name": "indy_vdr", "module_path": "native", - "remote_path": "v0.4.0-dev.16", + "remote_path": "v0.4.0", "host": "https://github.com/hyperledger/indy-vdr/releases/download/", "package_name": "library-{platform}-{arch}.tar.gz" }, diff --git a/wrappers/javascript/indy-vdr-react-native/package.json b/wrappers/javascript/indy-vdr-react-native/package.json index 4ffdedaf..638e9117 100644 --- a/wrappers/javascript/indy-vdr-react-native/package.json +++ b/wrappers/javascript/indy-vdr-react-native/package.json @@ -58,7 +58,7 @@ "binary": { "module_name": "indy_vdr", "module_path": "native", - "remote_path": "v0.4.0-dev.16", + "remote_path": "v0.4.0", "host": "https://github.com/hyperledger/indy-vdr/releases/download/", "package_name": "library-ios-android.tar.gz" } diff --git a/wrappers/python/indy_vdr/version.py b/wrappers/python/indy_vdr/version.py index 0a61ca82..bd8c44a9 100644 --- a/wrappers/python/indy_vdr/version.py +++ b/wrappers/python/indy_vdr/version.py @@ -1,3 +1,3 @@ """indy_vdr library wrapper version.""" -__version__ = "0.4.0.dev16" +__version__ = "0.4.0" From 4471196604f5b39a349d59421c2c55264c253dd0 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Mon, 11 Sep 2023 16:23:54 -0700 Subject: [PATCH 2/3] adjust rust version on CI Signed-off-by: Andrew Whitehead --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c56cc8b..712f4847 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: "Indy-VDR" env: - RUST_VERSION: "1.65.0" + RUST_VERSION: "1.70.0" CROSS_VERSION: "0.2.4" on: @@ -359,6 +359,8 @@ jobs: name: Build library (Android) needs: [checks] # NB: RUST_VERSION must be <1.68 here to support NDK 17 + env: + RUST_VERSION: "1.67" runs-on: ubuntu-latest strategy: From 20529d98b34f86204e3042843e6b1a537cbd8617 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Mon, 11 Sep 2023 16:25:26 -0700 Subject: [PATCH 3/3] only build lib Signed-off-by: Andrew Whitehead --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 712f4847..e0e73e48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -385,7 +385,7 @@ jobs: - name: Build run: | cargo install --bins --git https://github.com/rust-embedded/cross --tag v${{ env.CROSS_VERSION }} cross - cross build --release --target ${{matrix.target}} --package indy-vdr + cross build --lib --release --target ${{matrix.target}} --package indy-vdr - name: Save library uses: actions/upload-artifact@v3