Skip to content

Commit

Permalink
Release binary archives
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcc committed Nov 24, 2023
1 parent 347d0cd commit 0e3dabf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ builds:
env:
- CGO_ENABLED=0
targets:
- windows_amd64
- windows_arm64
- darwin_amd64
- darwin_arm64
- linux_amd64
Expand All @@ -20,6 +22,8 @@ builds:
env:
- CGO_ENABLED=0
targets:
- windows_amd64
- windows_arm64
- darwin_amd64
- darwin_arm64
- linux_amd64
Expand All @@ -38,6 +42,8 @@ nfpms:
license: MIT
formats:
- deb
- apk
- rpm
scripts:
preinstall: scripts/linux/preinstall.sh
# todo: Setup systemd service
Expand All @@ -57,4 +63,13 @@ dockers:
goarch: amd64
dockerfile: ./cmd/cloudcore-server/Dockerfile

archives:
- id: cloudcored-archive
builds:
- cloudcored
wrap_in_directory: false
name_template: >-
{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}_{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
format: binary

report_sizes: true

0 comments on commit 0e3dabf

Please sign in to comment.