Skip to content

Commit f9ae8e6

Browse files
committed
Auto merge of rust-lang#584 - alexcrichton:release, r=alexcrichton
Add instructions of how to make a release Anyone can do it!
2 parents 288ed55 + 97a158b commit f9ae8e6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,25 @@ We have two automated tests running on [Travis](https://travis-ci.org/rust-lang/
9898
2. Style checker
9999
- `rustc ci/style.rs && ./style src`
100100

101+
### Releasing your change to crates.io
102+
103+
Now that you've done the amazing job of landing your new API or your new
104+
platform in this crate, the next step is to get that sweet, sweet usage from
105+
crates.io! The only next step is to bump the version of libc and then publish
106+
it. If you'd like to get a release out ASAP you can follow these steps:
107+
108+
1. Update the version number in `Cargo.toml`, you'll just be bumping the patch
109+
version number.
110+
2. Run `cargo update` to regenerate the lockfile to encode your version bump in
111+
the lock file. You may pull in some other updated dependencies, that's ok.
112+
3. Send a PR to this repository. It should [look like this][example], but it'd
113+
also be nice to fill out the description with a small rationale for the
114+
release (any rationale is ok though!)
115+
4. Once merged the release will be tagged and published by one of the libc crate
116+
maintainers.
117+
118+
[example]: https://github.com/rust-lang/libc/pull/583
119+
101120
## Platforms and Documentation
102121

103122
The following platforms are currently tested and have documentation available:

0 commit comments

Comments
 (0)