From c79e5914e9f96f14d658e15e21c62db714c91421 Mon Sep 17 00:00:00 2001 From: bgoosmanviz Date: Thu, 2 Jan 2025 03:16:14 -0500 Subject: [PATCH] v0.7.0 --- .github/workflows/release.yml | 27 ++++++++++++++++++++++++++- README.md | 2 +- mix.exs | 2 +- native/kuzu_ex/Cargo.toml | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b304064..9b298ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,4 +33,29 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: stable - target: ${{ matrix.job.target }} \ No newline at end of file + target: ${{ matrix.job.target }} + + - name: Build the project + id: build-crate + uses: philss/rustler-precompiled-action@v1.1.4 + with: + project-name: kuzu_ex + project-version: ${{ env.PROJECT_VERSION }} + target: ${{ matrix.job.target }} + nif-version: ${{ matrix.nif }} + use-cross: ${{ matrix.job.use-cross }} + project-dir: "native/kuzu_ex" + cross-version: "v0.2.5" + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ steps.build-crate.outputs.file-name }} + path: ${{ steps.build-crate.outputs.file-path }} + + - name: Publish archives and packages + uses: softprops/action-gh-release@v1 + with: + files: | + ${{ steps.build-crate.outputs.file-path }} + if: startsWith(github.ref, 'refs/tags/') \ No newline at end of file diff --git a/README.md b/README.md index 4f221a6..0792a0e 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ by adding `kuzu_nif` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:kuzu_nif, "~> 0.6.0"} + {:kuzu_nif, "~> 0.7.0"} ] end ``` diff --git a/mix.exs b/mix.exs index aaab4ed..7950435 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule KuzuNif.MixProject do use Mix.Project - @version "0.6.0" + @version "0.7.0" @source_url "https://github.com/bgoosmanviz/kuzu_nif" def project do diff --git a/native/kuzu_ex/Cargo.toml b/native/kuzu_ex/Cargo.toml index 2bc627f..3febb37 100644 --- a/native/kuzu_ex/Cargo.toml +++ b/native/kuzu_ex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kuzu_ex" -version = "0.6.0" +version = "0.7.0" authors = [] edition = "2021"