1.0 KiB
1.0 KiB
Current steps for a release:
gotop
- Update Version in main.go
- Update CHANGELOG.md
- Tag
- Push everything
- When the github workflows complete, finish the draft release and publish.
- After the Homebrew and [AUR](https://github.com/xxxserxxx/gotop-linux] projects are done, check out gotop-linux and run
aurpublish aur
andaurpublish aur-bin
Homebrew is automatically updated. 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 adds new and interesting complexities to the release.
- cd to the nixpkgs directory
- docker run -it --rm --mount type=bind,source="$(pwd)",target=/mnt nixos/nix sh
- cd /mnt
- nix-prefetch-url --unpack https://github.com/xxxserxxx/gotop/archive/v3.3.2.tar.gz
- Copy the sha256
- Update the version and hash in nixpkgs/pkgs/tools/system/gotop/default.nix
- In docker, install & run vgo2nix to update deps.nix
- nix-build -A gotop