Skip to content
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

Migration Guide or Examples #32

Open
waynevanson opened this issue Jan 4, 2023 · 2 comments
Open

Migration Guide or Examples #32

waynevanson opened this issue Jan 4, 2023 · 2 comments

Comments

@waynevanson
Copy link

Hi there,

Thank you so much for the work you've done here.

It's a little vague on what has changed. On the surface it looks like a lot but it really doesn't seem like too much.

Would you be able to add some examples or a migration guide for common use cases?
The one I'm stuck on at the moment is running inside of https://github.com/cycjimmy/semantic-release-action

@EricCrosson
Copy link
Contributor

EricCrosson commented Jan 14, 2023

It's a little vague on what has changed. On the surface it looks like a lot but it really doesn't seem like too much.

That's a good assessment of it 😅

The binary has the same interface it did before. The behavior of some of the subcommands has been improved slightly, but nothing significant.

The addition of the npm module is a convenience for publishing to a cargo registry like crates.io.

This section of the readme describes how to configure semantic-release-cargo to publish your package to crates.io when you invoke semantic-release.

@liufuyang
Copy link

I also feel very puzzled on how to use this action.

It would be nice if you could provide an example on how to use it with semantic-release-action as mentioned in the doc link you posted above?

Also, how is next-release-version possible to figure out what is the next version, by looking at the Cargo.toml?

My Cargo.toml is a workspace file and I wish to only cargo publish a subcomponent, is there a way to set it up? Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants