Skip to content

Commit

Permalink
v0.6.22
Browse files Browse the repository at this point in the history
  • Loading branch information
alanvardy committed Dec 24, 2024
1 parent c7a8afc commit d042cd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 39 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tod"
version = "0.6.21"
version = "0.6.22"
authors = ["Alan Vardy <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
43 changes: 6 additions & 37 deletions PUBLISH_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,53 +11,22 @@ Create `tod-bin` directory for pushing to AUR
## Experimental Publish Procedure

1. Update `CHANGELOG.md` with version number
2. Create PR with
2. Update the version number in this file
3. Create PR with

```fish
VERSION=0.6.21 ./scripts/create_pr.sh
VERSION=0.6.22 ./scripts/create_pr.sh
```

3. Wait for it to pass, then merge and pull in latest changes
4. Wait for it to pass, then merge and pull in latest changes

```fish
gh pr merge -r --admin && gs
```

4. Release it to all the places
5. Release it to all the places

```fish
VERSION=0.6.21 NAME=tod ./scripts/release.sh
VERSION=0.6.22 NAME=tod ./scripts/release.sh
```

## Publish to Cargo and AUR (older method)

This checklist is just here for me to reduce the friction of publishing new versions.

Code changes

1. Change version in this file
2. Change version in `Cargo.toml`
3. Update and test with `./update_test.sh`
4. Update `CHANGELOG.md` with version number
5. Add any new examples to documentation
6. Open PR for version and wait for it to pass
7. Commit and merge PR
8. Build release

```bash
git checkout main
git pull
cargo aur
```

9. Create a new release

```
set VERSION "v0.6.16"
gh release create "$VERSION" ./target/cargo-aur/*.tar.gz --title "$VERSION" --generate-notes
```

10. Publish to Cargo with `cargo publish`
11. Push to AUR with `./push_aur.sh`
12. Delete any merged branches with `git-delete-merged-branches --yes`

0 comments on commit d042cd9

Please sign in to comment.