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

Publish to crates.io #3

Open
tobias47n9e opened this issue Feb 16, 2018 · 6 comments · May be fixed by #7
Open

Publish to crates.io #3

tobias47n9e opened this issue Feb 16, 2018 · 6 comments · May be fixed by #7

Comments

@tobias47n9e
Copy link

Would it be possible to publish this library to crates.io?

@retep998
Copy link
Member

I have some major refactoring I want to do first, but the plan is to eventually publish it to crates.io

@tobias47n9e
Copy link
Author

Awesome. Maybe we can share some modules in the future. I am currently working on the Wikibase API (https://crates.io/crates/wikibase) and it would be cool if both libraries would work together well.

@tomodachi94
Copy link
Member

tomodachi94 commented Apr 23, 2023

It should be trivial to have a CI workflow that automatically publishes to crates.io whenever a new version is published; perhaps we should go this route. I can draft a PR which would do this.

@retep998
Copy link
Member

It should be trivial to have a CI workflow that automatically publishes to crates.io whenever a new version is published

Publishing a new version when a new version is published? Huh?

And if you're suggesting to publish a new version with every push to master, no, denied.

The main issue is that we need to come up with a crate name since mediawiki is already taken.

@tomodachi94
Copy link
Member

And if you're suggesting to publish a new version with every push to master, no, denied.

Do you think I'm insane? The workflow would be triggered when a new Git tag is pushed to the repository (or whenever you push a button).

The main issue is that we need to come up with a crate name since mediawiki is already taken.

mediawiki-api doesn't appear to be taken, but we might want to include a note at the bottom of the README that indicates that mediawiki is a separate project.

@tomodachi94 tomodachi94 linked a pull request Apr 23, 2023 that will close this issue
@retep998
Copy link
Member

retep998 commented Apr 23, 2023

Do you think I'm insane? The workflow would be triggered when a new Git tag is pushed to the repository (or whenever you push a button).

If I already have to create a git tag and update the version number in Cargo.toml manually and all the CI workflow does is run cargo publish for me? That doesn't seem worth it.

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

Successfully merging a pull request may close this issue.

3 participants