Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: binary names and freebsd issues

Matthew Kilgorec6e898e69afc
diff --git a/backend/.goreleaser.amd64.yaml b/backend/.goreleaser.amd64.yaml
index 69901478..15e4b394 100644
--- a/backend/.goreleaser.amd64.yaml
+++ b/backend/.goreleaser.amd64.yaml
@@ -1,5 +1,7 @@
version: 2
+project_name: homebox
+
# Architecture-specific config for amd64
# Make sure to check the documentation at https://goreleaser.com
before:
@@ -23,6 +25,11 @@ builds:
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
+ tags:
+ - >-
+ {{- if eq .Arch "riscv64" }}nodynamic
+ {{- else if eq .Os "freebsd" }}nodynamic
+ {{ end }}
archives:
- formats: [ 'tar.gz' ]
diff --git a/backend/.goreleaser.arm64.yaml b/backend/.goreleaser.arm64.yaml
index 09625025..984e7ee1 100644
--- a/backend/.goreleaser.arm64.yaml
+++ b/backend/.goreleaser.arm64.yaml
@@ -1,5 +1,7 @@
version: 2
+project_name: homebox
+
# Architecture-specific config for arm64
# Make sure to check the documentation at https://goreleaser.com
before:
@@ -23,6 +25,11 @@ builds:
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
+ tags:
+ - >-
+ {{- if eq .Arch "riscv64" }}nodynamic
+ {{- else if eq .Os "freebsd" }}nodynamic
+ {{ end }}
archives:
- formats: [ 'tar.gz' ]
diff --git a/backend/.goreleaser.riscv64.yaml b/backend/.goreleaser.riscv64.yaml
index 9be92846..c4d7d068 100644
--- a/backend/.goreleaser.riscv64.yaml
+++ b/backend/.goreleaser.riscv64.yaml
@@ -1,5 +1,7 @@
version: 2
+project_name: homebox
+
# Architecture-specific config for riscv64
# Make sure to check the documentation at https://goreleaser.com
before:
@@ -22,7 +24,10 @@ builds:
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
tags:
- - nodynamic
+ - >-
+ {{- if eq .Arch "riscv64" }}nodynamic
+ {{- else if eq .Os "freebsd" }}nodynamic
+ {{ end }}
archives:
- formats: [ 'tar.gz' ]