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

📎 Create GitHub actions to publish rust crates #286

Closed
magic-akari opened this issue Sep 15, 2023 · 3 comments
Closed

📎 Create GitHub actions to publish rust crates #286

magic-akari opened this issue Sep 15, 2023 · 3 comments
Assignees

Comments

@magic-akari
Copy link
Contributor

Description

@nissy-dev nissy-dev self-assigned this Sep 18, 2023
@nissy-dev
Copy link
Contributor

I started working. I'm learning how to publish multiple crates by cargo-workspace and manage crate.io token in my fork repository.

After that, I will work in the following way (this may change)

  • Try to publish on your own account
  • Change crate's owner to github's team if publishing well
  • Set up a GitHub Actions workflow

@ematipico
Copy link
Member

ematipico commented Sep 18, 2023

Few things I want to share:

  • we don't want to maintain a CHANGELOG.md for each crate. While it seems nice, it's a a lot of burden, and we still need to get current changelog right
  • cargo-workspace is a nice tool, but when I tried it, it didn't work as expected. I wanted to do a "dry run" locally, so I disabled everything (github tags, commit, push, etc.), and regardless of that, it published the crate on crates.io;
  • it's fine if we start with a simple script that does the publishing, e.g. https://github.com/tokio-rs/tokio/blob/master/bin/publish, then we can progressively work around it and create better workflows

@nissy-dev
Copy link
Contributor

We published most of crates, so closed.
see: https://crates.io/search?q=biome_

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