xmtop/docs/releasing.md
Anti Ops 209e90b31b [docs] Fix links in docs
- 3 Links in colorschemes.md lead to the current docs directory instead of its actual directory in the root

- 1 link in releasing.md didnt have the corrent linking syntax causing the link to send the uesr to a page that doesnt exist
2020-11-19 01:32:23 -07:00

1.3 KiB

Current steps for a release

  1. Update Version in main.go
  2. Update CHANGELOG.md
  3. Tag
  4. Push everything
  5. Wait for the github workflows to complete
  6. Download and verify the correct version of one of the binaries
  7. Finish the draft release and publish.
  8. Check gotop-builder for a successful everything build; if successful, publish.
  9. Wait for the AUR project to finish building.
    1. update arch (gotop-linux) and run aurpublish gotop and aurpublish gotop-bin
    2. Test install gotop and gotop-bin with running & version check
  10. Notify Nix
  11. Notify Homebrew Automated now.

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.

  1. Download the gotop src package; run sha256 on it to get the hash
  2. cd to the nixpkgs directory
  3. Update the sha256 hash in pkgs/tools/system/gotop/default.nix
  4. docker run -it --rm --mount type=bind,source="\$(pwd)",target=/mnt nixos/nix sh
  5. cd /mnt
  6. install & run vgo2nix to update deps.nix
  7. nix-build -A gotop
  8. When it fails, ...