From 11afe0e1e7f2d85cff70148a0c1e7eb5969ce6d5 Mon Sep 17 00:00:00 2001
From: FlUxIuS <fluxius@gmail.com>
Date: Thu, 5 Dec 2024 00:09:29 +0100
Subject: [PATCH] Fixing name for archives and binary in goreleaser

---
 .goreleaser.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.goreleaser.yml b/.goreleaser.yml
index 234eedd..8857f87 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -17,6 +17,7 @@ builds:
   - env:
       - CGO_ENABLED=0
     dir: go/rfswift
+    binary: rfswift
     goos:
       - linux
       - windows
@@ -30,7 +31,7 @@ archives:
   - format: tar.gz
     # This name template makes the OS and Arch compatible with the results of `uname`.
     name_template: >-
-      {{ .ProjectName }}_
+      rfswift_
       {{- title .Os }}_
       {{- if eq .Arch "amd64" }}x86_64
       {{- else if eq .Arch "arm64" }}arm64