embassy-rs / bt-hci

Apache License 2.0
17 stars 7 forks source link

Add CI Publish to Crates.io Stage #20

Open ScottGibb opened 1 week ago

ScottGibb commented 1 week ago

Hi All,

Good work on the bt-hci so far. Really interesting project!

I noticed that on https://crates.io/crates/bt-hci/versions we have two tagged releases (v0.1.0 and v0.1.1). However on GitHub we have no tagged releases. I assume at the moment the publishing to Crates.io is done manually.

Im wondering if there's value in us adding a CI Publish stage where we can auto tag and publish using Github actions. How we decide to achieve that can be discussed in this issue and then we can go implement it.

A quick google resulted in the following guide, i'm sure we can come up with something a bit more sophisticated.

lulf commented 1 week ago

That would be nice, but this is not a crate that is typically updated very frequently, so I'm not sure if there is any time saved. It would be good to use some helper like cargo releaser to ensure tags and other things gets updated though, so thanks for raising the issue.

ScottGibb commented 1 week ago

@lulf Ive proposed the work for this and should start working on this and https://github.com/embassy-rs/trouble/issues/154 in the next couple of weeks :)