Trendyol Tech
Published in

Trendyol Tech

The fanciest way of releasing Go binaries with GoReleaser 😎

To install GoReleaser on your own machine please refer to the page.

🚨 Please let me tell you something that I faced with recently when I start to learn and implement GoReleaser for the first time in our project. When I start to implement it with my project, I did some research about the projects that are already using GoReleaser, so I copied some examples from there and tried to run it. The mistake that I did in the beginning is that I have used the same binary names for all the builds together with “no_unique_dist_dir: true” option. So, my Darwin build made Linux build obsolete at the end of the day because the names of the binaries are same. So, my recommendation is that please read all the documentations first in the GoReleaser website before diving into the implemention details so quick.

🚨 Don’t make your GitLab variables protected if your branch is not protected because you can’t read your variables if they are protected and run on a non-protected branch.




Trendyol Tech Team

Recommended from Medium

Living Documentation — Brief History and Evolution of the Concept

Hosting a Web Server in Ubuntu MicroK8s

Fantastic Faults and What to Call Them

“Project life “— First steps (Part 1)

Python Dictionaries

Producing architectural guidelines to help teams make their migration plans

How To Start Web Development On Android

The Dis-engagement of Apple’s Open-Source

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


I do mostly Go, Kubernetes, and cloud-native stuff ⛵️🐰🐳

More from Medium

Manage Kubernetes Admission Webhook's certificates with cert-manager CA Injector and Vault PKI📝…

Creating a Linkerd Controller in Golang

Jaeger Tracing: A Friendly Guide for Beginners

Developing Kubernetes Native App in Golang With Hot Reload Directly Inside the Cluster