1.2 KiB
1.2 KiB
Current steps for a release
- Update Version in main.go
- Update CHANGELOG.md
- Tag
- Push everything
- Wait for the github workflows to complete
- Download and verify the correct version of one of the binaries
- Finish the draft release and publish.
- Check gotop-builder for a successful everything build; if successful, publish.
- Wait for the [AUR](https://github.com/xxxserxxx/gotop-linux] project to finish building.
- update arch (gotop-linux) and run
aurpublish aur
andaurpublish aur-bin
- update arch (gotop-linux) and run
- Notify Nix
- Notify Homebrew
The AUR project still needs secret credentials to aurpublish to the AUR
repository, so the final publish step is still currently manual.
Oh, what a tangled web.
Nix
I haven't yet figured this out, so currently just file a ticket and hope somebody on that end updates the package.
Nix adds new and interesting complexities to the release.
- Download the gotop src package; run sha256 on it to get the hash
- cd to the nixpkgs directory
- Update the sha256 hash in
pkgs/tools/system/gotop/default.nix
docker run -it --rm --mount type=bind,source="\$(pwd)",target=/mnt nixos/nix sh
cd /mnt
- install & run vgo2nix to update deps.nix
nix-build -A gotop
- When it fails, ...