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

Dry-run should warn of insufficient publishing permissions #601

Open
HCastano opened this issue Nov 23, 2022 · 1 comment
Open

Dry-run should warn of insufficient publishing permissions #601

HCastano opened this issue Nov 23, 2022 · 1 comment
Labels
enhancement Improve the expected

Comments

@HCastano
Copy link

Hey there!

Earlier this week I was trying to release a series of crates from the ink! repository. I
was able to successfully perform a dry run, but when I went to actually publish the
release I ran into a permissions issue.

Turns out I wasn't an owner of one of the crates and so I wasn't allowed to publish
it.

It would be great to have cargo-release print out a warning as part of the dry-run if
you don't have sufficient permissions to publish a crate.

Tested with cargo-release@0.23.1.

@epage epage added the enhancement Improve the expected label Nov 24, 2022
@epage
Copy link
Collaborator

epage commented Nov 24, 2022

While I agree, I don't know of a way to do this at the moment without getting into a lot of github api calls to see if people are members of a group.

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

No branches or pull requests

2 participants