diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe9e798..acdef15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -252,9 +252,10 @@ jobs: - name: Set Memgraph Version run: | if [[ "${{ matrix.mgversion }}" == "latest" ]]; then + release_json=$(curl -s https://api.github.com/repos/memgraph/memgraph/releases/latest) mgversion=$( - curl -s https://api.github.com/repos/memgraph/memgraph/releases/latest \ - | grep -m1 '"tag_name":' \ + printf '%s' "$release_json" \ + | grep '"tag_name":' \ | sed -E 's/.*"([^"]+)".*/\1/' \ | sed 's/^v//' ) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c9e73..203e2c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(WASM) set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/wasm/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake") endif() -project(mgclient VERSION 1.5.0) +project(mgclient VERSION 1.6.0) # Minor version increase can also mean ABI incompatibility with previous # versions. IMPORTANT: Take care of the SO version manually. set(mgclient_SOVERSION 2)