rp-rs / rp-hal

A Rust Embedded-HAL for the rp series microcontrollers
https://crates.io/crates/rp2040-hal
Apache License 2.0
1.46k stars 237 forks source link

feat: Release rp235x-hal v0.3.0 #870

Closed winksaville closed 2 weeks ago

winksaville commented 2 weeks ago

Prepare to release pr235x-hal version 0.3.0

9names commented 2 weeks ago

If you look at https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/CHANGELOG.md, we've tried to include the PR # and the user who made the PR as well. These are put into the github release notes, to ensure that folks are credited for their work. An example of that is here: https://github.com/rp-rs/rp-hal/releases/tag/v0.10.2 If you have time to do those things it would be great. Thanks!

winksaville commented 2 weeks ago

You'll need to update the HAL version for the examples too, cargo won't let you compile things from path if the version specified isn't correct.

https://github.com/rp-rs/rp-hal/blob/e87e2acc233a9e3b54a9287dc2a7285db1969cad/rp235x-hal-examples/Cargo.toml#L35

Fixed after changing Cargo.toml:

$ cargo build
    Updating crates.io index
     Locking 176 packages to latest compatible versions
      Adding ascii-canvas v3.0.0 (latest: v4.0.0)
      Adding bare-metal v0.2.5 (latest: v1.0.0)

..

   Compiling pio-parser v0.2.2
   Compiling rp235x-hal v0.3.0 (/home/wink/prgs/rpi-pico/myrepos/rp-hal/rp235x-hal)
   Compiling pio-proc v0.2.2
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.20s
wink@3900x 24-11-04T21:58:15.831Z:~/prgs/rpi-pico/myrepos/rp-hal/rp235x-hal-examples (Release-rp235x-hal-v0.3.0)
winksaville commented 2 weeks ago

If you look at https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/CHANGELOG.md, we've tried to include the PR # and the user who made the PR as well. These are put into the github release notes, to ensure that folks are credited for their work. An example of that is here: https://github.com/rp-rs/rp-hal/releases/tag/v0.10.2 If you have time to do those things it would be great. Thanks!

Is there a git log --format=xxx to get the "PR number" and "github/name" or some other way to generate that info?

9names commented 2 weeks ago

I usually look at the closed PR list, match against merge commit messages https://github.com/rp-rs/rp-hal/pulls?q=is%3Apr+is%3Aclosed

winksaville commented 2 weeks ago

I've somehow messed this up, I'm closing it and starting over, sorry!