-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing via CI #71
Comments
yes, but only one rust package, and that was via |
Found this https://github.com/cycjimmy/semantic-release-action for publishing crates, but I don’t know if it’ll generate the changelog from our conventional commit messages |
it is basically a wrapper around if we will use automated releases, then we should enforce commit message style (conventional commits?) so that everything is actually included |
hey @hasezoey, I've given this a first attempt -- pushing to the release branch will automatically publish the crate. No automatic changelog generation or version bumping. I'm suggesting the following workflow for us:
Let me know what you think -- it's a step closer to what we were discussing above. |
should be merged back like |
from what i can tell, 2 versions have been published, without any release commit or notice in the changelog, namely |
hey @hasezoey, hope all is well :) I made the mistake of using version |
Sorry, I think I didn't explain correctly. Here's a scenario:
Notes:
|
I'm going to close this issue but feel free to continue the discussion. The next step for publishing CI is to automate the versioning and changelog generation with something like |
if we use |
hey @hasezoey, I read your concern above and wanted to propose a new flow:
out2.mp4Thoughts? |
sure, though we (or i) need to remember to actually do the changelog and a version commit and tag it |
Yes, exactly -- and that's the next step we should automate. I think we can achieve this with semantic-release and something like https://github.com/peter-evans/create-pull-request. |
because of some discussions, i would like to do this somewhat soon (hopefully releasing 0.1.0 in the process or before), so i will sum up what needs to be done and in which ways we will likely do it (roughly organized in the order things need to be done):
@Wulf what do you think about those steps, any ideas on what should / could be used? |
i will re-open it issue for now, until 0.1.0 is released and |
hey @hasezoey :) Thanks for your patience here, I've been busy moving! I hope everything has been well on your end. I saw the generated Changelog in your PR and it looks great! I think it's okay if we remove the |
as long as 0.1.0 is not released, i dont recommend removing
*semantic release treats major number TL;DR: semantic-release will do: |
hey @hasezoey
Do you have any experience setting up crates.io publishing CI? I think it’s time for us to pursue this. I can add a CARGO_TOKEN secret to this repo which we can use for authorization.
Anyway, hope all is well on your end 🙌
The text was updated successfully, but these errors were encountered: