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

Can't run against publish = false crates, but there's a workaround #30

Open
rcoh opened this issue Mar 30, 2023 · 1 comment
Open

Can't run against publish = false crates, but there's a workaround #30

rcoh opened this issue Mar 30, 2023 · 1 comment
Labels
C-enhancement Category: raise the bar on expectations

Comments

@rcoh
Copy link

rcoh commented Mar 30, 2023

In order to get cargo-semver-checks to run when publish = false is set, you need a combination of -p <> and --manifest-path to be set

@obi1kenobi obi1kenobi added the C-enhancement Category: raise the bar on expectations label Mar 30, 2023
@obi1kenobi
Copy link
Owner

To clarify:

  • --manifest-path <direct-to-pkg> -p <pkg> works. This is the official workaround.
  • Using the manifest path of the workspace instead of the package's own Cargo.toml won't work.
  • Not providing -p while using the package's Cargo.toml also won't work.

@obi1kenobi obi1kenobi changed the title can't run against publish = false crates Can't run against publish = false crates, but there's a workaround Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: raise the bar on expectations
Projects
None yet
Development

No branches or pull requests

2 participants