]> git.r.bdr.sh - rbdr/mobius/blobdiff - .goreleaser.yaml
Add initial HTTP API endpoints
[rbdr/mobius] / .goreleaser.yaml
index 4dc6f910fd5dc3d6428c7626e2a88b962a0addb5..5fd0ccb7b515f4137fd0847ceea476b47eda373e 100644 (file)
@@ -5,22 +5,38 @@ before:
     - go mod tidy
 
 builds:
-  - env:
+  - id: "mobius-hotline-server"
+    main: ./cmd/mobius-hotline-server
+    binary: mobius-hotline-server
+    env:
       - CGO_ENABLED=0
     goarch:
       - amd64
-      - arm
       - arm64
+      - arm
     goos:
       - linux
       - windows
       - darwin
+#  - id: "mobius-hotline-client"
+#    main: ./cmd/mobius-hotline-client
+#    binary: mobius-hotline-client
+#    env:
+#      - CGO_ENABLED=0
+#    goarch:
+#      - amd64
+#      - arm64
+#    goos:
+#      - linux
+#      - windows
+#      - darwin
 
 archives:
-  - format: tar.gz
+  - id: "mobius-hotline-server"
+    format: tar.gz
     # this name template makes the OS and Arch compatible with the results of `uname`.
     name_template: >-
-      {{ .ProjectName }}_
+      {{ .ProjectName }}_server_
       {{- title .Os }}_
       {{- if eq .Arch "amd64" }}x86_64
       {{- else if eq .Arch "386" }}i386
@@ -30,6 +46,20 @@ archives:
     format_overrides:
       - goos: windows
         format: zip
+#  - id: "mobius-hotline-client"
+#    format: tar.gz
+#    # this name template makes the OS and Arch compatible with the results of `uname`.
+#    name_template: >-
+#      {{ .ProjectName }}_client_
+#      {{- title .Os }}_
+#      {{- if eq .Arch "amd64" }}x86_64
+#      {{- else if eq .Arch "386" }}i386
+#      {{- else }}{{ .Arch }}{{ end }}
+#      {{- if .Arm }}v{{ .Arm }}{{ end }}
+#    # use zip for windows archives
+#    format_overrides:
+#      - goos: windows
+#        format: zip
 
 changelog:
   sort: asc