Create gpto-bin
directory for pushing to AUR
./setup_aur.sh
- Update
CHANGELOG.md
with version number - Create PR with
VERSION=0.2.2 ./create_pr.sh
- Wait for it to pass, then merge and pull in latest changes
gh pr merge -r --admin && gs
- Release it to all the places
VERSION=0.2.2 ./release.sh
git clone ssh://[email protected]/gpto-bin.git
cd gpto-bin
git remote add aur ssh://[email protected]/gpto-bin.git
This checklist is just here for me to reduce the friction of publishing new versions.
Code changes
-
Update dependencies and make sure nothing broke with
./update_test.sh
-
Change the version in
Cargo.toml
and in this document (do a global find and replace) -
Update CHANGELOG.md with the version number
-
Update README.md with help text
cargo run -- -h
-
Add any new examples to README.md
-
Open PR for the version and wait for it to pass
-
Commit and merge PR
-
Build release
git checkout main
git pull
cargo aur
- Make sure to use the label and title in format
v0.1.6
- Add binary from gpto directory
- Publish to Cargo
cargo publish
- Push to aur with
./push_aur