-
Notifications
You must be signed in to change notification settings - Fork 40
Home
Alex Hallam edited this page Jul 4, 2023
·
20 revisions
tv
is getting closer to being the finished product that was envisioned from the start. I assume that when tv
is "complete" releases/patches will become less frequent. This page is to be a reminder of tasks I need to do when new versions are pushed. I am making this now while the steps are fresh in my mind.
- Documentation checklist
- has the version been bumped in the
help
section of the README - say what has changed in
changelog.md
- has the version been bumped in the
- Bump the version in
Config.toml
- Release. Push and merge a "prep" commit before commiting
-
git checkout main
.git pull
. Add a tag locally that matches the version number. Push the tag to main. (This triggers GHA)git tag 0.0.0
andgit push origin 0.0.0
- Publish
cargo publish
- Add Debian Release: Use
cargo deb
to build a debian binary (maybe add this to GHA in the future). Upload to releases page. Can install withcargo install cargo-deb
- Add RPM Release: Use
alien --verbose --to-rpm ./target/debian/tidy-viewer_<VERSION_NUMBER>_amd64.deb
to make anRPM
package. The.rpm
will be intv/*.rpm
-
brew bump-formula-pr --version=<version_number> tidy-viewer
. Install here https://brew.sh/ - Update the homebrew tap. Get the
sha256sum
of the apple darwin build and change the version numbers.
wget https://github.com/alexhallam/tv/archive/refs/tags/<version>.tar.gz
sha256sum 1.4.6.tar.gz
- Update homebrew-core.
- Update personal homebrew fork here. Click on
fetch upstream
- try command suggested here
brew bump-formula-pr --version=1.4.6 tidy-viewer
- Get
sha256sum
of file downloaded fromhttps://github.com/alexhallam/tv/archive/refs/tags/<version>.tar.gz
- Update the hash and the version number of the url. Push to personal homebrew then open a PR to the main homebrew.
- Make sure that the branch is named
tidy-viewer-<version>
i.etidy-viewer-1.4.6
Release notation <major>.<minor>.<patch>