ergochat / ergo

A modern IRC server (daemon/ircd) written in Go.
https://ergo.chat/
MIT License
2.25k stars 177 forks source link

eliminate goreleaser? #820

Open slingamn opened 4 years ago

slingamn commented 4 years ago

goreleaser makes me nervous (large, opaque binary dependency) and we're using a very small subset of its functionality. I could probably fit everything goreleaser provides into a few lines of shell.

slingamn commented 4 years ago

goreleaser provides the following:

  1. Validates that git status is clean
  2. Validates that HEAD matches an appropriate tag
  3. Validates the version string against the tag?
  4. Knows which files to include in the archive
  5. Knows which os/arch combinations to build
slingamn commented 4 years ago

Meh, the old v0.101.0 binary I have still works with vendored modules, so this isn't a priority.

DanielOaks commented 4 years ago

Yeah for some reason doing cross-compilation manually always felt a bit hairy or fragile as well, whereas goreleaser just does it without any worries. If we can go our own way and get it working reliably across, say, macOS and Linux then I'd be pretty happy