Skip to content

Commit

Permalink
[RSDK-9734] Release 0.4.1-rc1 and reduce number of release touchpoints (
Browse files Browse the repository at this point in the history
  • Loading branch information
acmorrow authored Jan 27, 2025
1 parent 82953b4 commit 0ccc9fc
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description = "Viam RDK for microcontroller"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/viamrobotics/micro-rdk"
version = "0.4.0"
version = "0.4.1-rc1"
rust-version = "1.83"

[profile.release]
Expand Down
5 changes: 2 additions & 3 deletions micro-rdk-ffi/micrordklib-idf-component/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
idf_component_register(INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
idf_build_set_property(INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY_DIR}/assets" APPEND)

set(LIBMICRORDK_VERSION v0.4.0)
set(LIBMICRORDK_URL https://github.com/viamrobotics/micro-rdk/releases/download/${LIBMICRORDK_VERSION}/micro-rdk-lib.zip)
set(LIBMICRORDK_URL https://github.com/viamrobotics/micro-rdk/releases/download/${COMPONENT_VERSION}/micro-rdk-lib.zip)
set(LIBMICRORDK_PATH ${CMAKE_BINARY_DIR}/import/micro-rdk-lib.zip)

if((NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libmicrordk.a" AND NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/libmicrordk.a") OR(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/micrordk.h" AND NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/micrordk.h"))
file(DOWNLOAD ${LIBMICRORDK_URL} ${LIBMICRORDK_PATH} STATUS LIBMICRORDK_DOWNLOAD_STATUS)
list(GET LIBMICRORDK_DOWNLOAD_STATUS 0 LIBMICRORDK_DOWNLOAD_STATUS_NO)
if(LIBMICRORDK_DOWNLOAD_STATUS_NO)
message( FATAL_ERROR "Cannot download Micro-RDK ${LIBMICRORDK_VERSION} check if the version is valid" )
message(FATAL_ERROR "Cannot download Micro-RDK ${COMPONENT_VERSION} library - check if the version in idf_component.yml is valid")
else()
add_prebuilt_library(micro_rdk_ffi
"${CMAKE_CURRENT_BINARY_DIR}/assets/libmicrordk.a"
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.4.0"
version: "0.4.1-rc1"
description: "Micro-RDK lib"
dependencies:
## Required IDF version
Expand Down
9 changes: 7 additions & 2 deletions templates/module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ authors = ["{{authors}}"]
resolver = "2"
rust-version = "1.83"

[dependencies]
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", features = ["{{mcu}}"], version = "0.4.0", rev = "380a098"}
[dependencies.micro-rdk]
git = "https://github.com/viamrobotics/micro-rdk.git"
version = "0.4.1-rc1"
rev = "v0.4.1-rc1"
features = [
"{{mcu}}"
]

[package.metadata.com.viam]
module = true
4 changes: 2 additions & 2 deletions templates/project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ opt-level = "z"

[dependencies.micro-rdk]
git = "https://github.com/viamrobotics/micro-rdk.git"
version = "0.4.0"
rev = "380a098"
version = "0.4.1-rc1"
rev = "v0.4.1-rc1"
features = [
"esp32",
"binstart",
Expand Down

0 comments on commit 0ccc9fc

Please sign in to comment.