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

cargo-dist (and cargo-release) #2609

Merged
merged 10 commits into from
Sep 5, 2023
Merged

cargo-dist (and cargo-release) #2609

merged 10 commits into from
Sep 5, 2023

Conversation

tshepang
Copy link
Member

Ease release process by introducing cargo-dist and cargo-release to release flow.
In addition, bindgen-cli is also published as a binary.

Makes it play well with cargo-release,
where we would get the following:

  error: tests_expectations is missing the following fields:
    license || license-file
    documentation || homepage || repository
@tshepang
Copy link
Member Author

Docs are now fixed, and this should be ready for review.

To explain the release workflow (assuming this PR gets accepted)...

  • install cargo-release
  • when doing a feature release, run cargo release minor, which does a dry-run of what would happen
  • run cargo release minor --execute, which will
    • publish bindgen and bindgen-cli to crates.io
    • tag and push the commit
      • this will trigger the release workflow, which will create installers and tarballs for bindgen-cli

@pvdrz pvdrz merged commit 5c9f516 into rust-lang:main Sep 5, 2023
27 checks passed
@tshepang tshepang deleted the cargo-dist branch September 6, 2023 02:41
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 this pull request may close these issues.

2 participants