Skip to content

Commit 21def42

Browse files
authored
fix: set ros_distro RUSTFLAGS in release-plz like rclrs (#29)
cargo publish --features use_ros_shim has no ROS_DISTRO, and docs.rs rustc-args are not applied then. Match rclrs by passing --cfg ros_distro="humble" through the release workflow. Assisted-by: Cursor:Grok-4.6 [Cursor Agent]
1 parent e26cec2 commit 21def42

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release-plz.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
env:
9+
RUSTFLAGS: "--cfg ros_distro=\"humble\""
10+
811
jobs:
912
release-plz-release:
1013
name: Release-plz release

0 commit comments

Comments
 (0)