moriturus / ktra

Your Little Cargo Registry
https://book.ktra.dev
Apache License 2.0
402 stars 38 forks source link

[Maintenance] Publish 0.7.0 #52

Open gagbo opened 2 years ago

gagbo commented 2 years ago

Hello,

This issue serves as marker/reminder that even in the 0.7.0 version has been properly merged and tagged in the main branch, it hasn't been pushed to crates.io yet because I don't "own" the crate there; and the new version of the book has been merged but not deployed either as far as I understand.

To publish:

fMeow commented 2 years ago

AFAIK 0.6.0 is not released to crates.io yet. So I don't think it necessary to bump a minor version.

gagbo commented 2 years ago

Actually, as long as the major version is a leading 0, the "minor" version is the major compatibility version as far as cargo is concerned. I pushed 0.7.0 before realizing this, but fortunately, as ktra is a binary-only crate (at least for the time being), those semver details don't matter too much.

0.6.0 tag was already existing and pushed in the repo here, so there was no reason to overwrite this tag; I guess that means we'll need to publish the 2 versions to crates.io now, instead of just one. Thanks for noticing that and adding the task to the reminder!

fMeow commented 2 years ago

I would recommend a automatic flow to publish commit with version tag to crates.io, which can be realized by github action.

I would draft a PR and wait for the crates.io owner to fill the missing token in repo setting.

fMeow commented 2 years ago

I have submit PR #53, which add publish section in github action. The only missing piece is a correct CARGO_TOKEN provided and configured by @moriturus in action secrets in repo settings.

Let's wait for response from @moriturus.