https://github.com/paritytech/subpub
Playing with automating the process of publishing crates from Substrate
https://github.com/paritytech/subpub
Last synced: about 1 year ago
JSON representation
Playing with automating the process of publishing crates from Substrate
- Host: GitHub
- URL: https://github.com/paritytech/subpub
- Owner: paritytech
- License: gpl-3.0
- Created: 2022-02-24T16:17:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T16:18:07.000Z (over 2 years ago)
- Last Synced: 2025-04-02T14:53:52.826Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 780 KB
- Stars: 4
- Watchers: 9
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SubPub
A tool to help you publish crates from Substrate. **This has been used once or twice, but should still be considered alpha quality.**
Roughly, this tool takes inspiration from `cargo-unleash`, and is focused on automating as far as possible the workflow for publishing a subset of the crates that we need from substrate.
The motivation for creating this tool is to assist in publishing a subset of the Substrate crates that we need for Subxt.
Roughly, this tool can take care of the following steps:
- For a given crate or crates you'd like to publish, find all of the dependencies we may also need to publish.
- Compare local source against versions published on crates.io to find out whether a crate needs a version bump.
- Perform the version bumping.
- Publish this set of crates in the correct order to crates.io.
Run the crate with `cargo run` to see the available commands and help text for them.
# Contributions
Contributions are welcome, but please open an issue first to discuss.
While I'd like this tool to be fairly Substrate agnostic and work in any cargo workspace, its focus is on helping publish Substrate crates, and so feature requests that complicate that to support other workflows/approaches may be rejected.