Putting an end to Makefile in

projects with GoReleaser

~$ whoami

Denis Germain

@zwindler(@framapiaf.org)

#geek πŸ‘¨β€πŸ’» #SF πŸ€–πŸ‘½ #runner πŸƒβ€β™‚οΈ


*the slides are on the blog

Putting an end to Makefile in

projects with GoReleaser

Why this talk???

  • Golang = πŸ’™, but compiling is πŸ₯±
  • Maintaining OSS projects === tedious actions 😴
    • βš”οΈ cross-compiling
    • πŸ‹ building Docker images
    • πŸ“¦ making a bunch of packages
    • ✍🏼 signing/checksuming artefacts
    • πŸš€ releases to git(hub|lab|ea)

Solution 1 - do it yourself

  • Makefile
  • Jenkinsfile
  • Github action / Gitlab runners
  • Bash scripts "roulΓ©s sous les aisselles"
  • ...

Solution 2 - GoReleaser

You can do all that, and more with GoReleaser !

center

It's time to D-D-D-D-D-DEMO !

center

Conclusion & feedbacks

  • βš”οΈ cross-compilation
  • πŸ‹ Docker image builds
  • ✍🏼 signature + checksums
  • πŸš€ gitlab releases
  • posts on social medias / communication channels

@zwindler(@framapiaf.org)

Sources