docs: list cargo build sooner

This commit is contained in:
Luis Ball 2021-12-15 16:46:16 -05:00
parent b437935090
commit 5081dc8227
1 changed files with 6 additions and 6 deletions

View File

@ -12,18 +12,18 @@ To release a new version of the project, you need to:
version = "0.1.0" // <-- Update this to next version version = "0.1.0" // <-- Update this to next version
// ... // ...
``` ```
2. Create a release commit with the changes and tag it with the new version number 2. Create `target/release/` folder with the binary
```bash
cargo build --release
```
3. Create a release commit with the changes and tag it with the new version number
```bash ```bash
git commit -m "chore: release v0.1.0" && git tag v0.1.0 git commit -m "chore: release v0.1.0" && git tag v0.1.0
``` ```
3. Push the commit and tag to the remote repository 4. Push the commit and tag to the remote repository
```bash ```bash
git push origin master && git push origin master --tags git push origin master && git push origin master --tags
``` ```
4. Create `target/release/` folder with the binary
```bash
cargo build --release
```
5. Create a `.tar.gz` archive of the release bundle that's compatible with Brew and GitHub Releases. 5. Create a `.tar.gz` archive of the release bundle that's compatible with Brew and GitHub Releases.
```bash ```bash
cd target/release cd target/release