Semaphore/.goreleaser.yml

76 lines
1.5 KiB
YAML
Raw Normal View History

# Goreleaser configuration
# for building binaries and packages for distributions and releasing on github
dist: bin
2021-06-25 10:53:50 +02:00
before:
hooks:
- task compile
builds:
- binary: semaphore
main: ./cli/main.go
goos:
- windows
- darwin
- linux
2022-03-30 12:28:20 +02:00
- freebsd
2021-06-25 11:07:35 +02:00
#- openbsd
#- netbsd
goarch:
- amd64
2021-06-25 11:07:35 +02:00
#- 386
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
2021-06-25 10:53:50 +02:00
# hooks:
# pre: task compile
archives:
-
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
signs:
-
artifacts: checksum
2022-06-20 18:30:33 +02:00
args: ["-u", "58A7 CC3D 8A9C A2E5 BB5C 141D 4064 23EA F814 63CA", "--pinentry-mode", "loopback", "--yes", "--batch", "--output", "${signature}", "--detach-sign", "${artifact}"]
# Start the snapshot name with a numerical value
# so it does not need to be force installed
snapshot:
name_template: "{{ .Timestamp }}-{{ .ShortCommit }}-SNAPSHOT"
nfpms:
2021-06-25 10:53:50 +02:00
-
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Castaway Consulting LLC
homepage: https://github.com/ansible-semaphore/semaphore
maintainer: Castaway Consulting LLC <support@castawaylabs.com>
description: Open Source alternative to Ansible Tower
license: MIT
formats:
- deb
- rpm
# Packages your package depends on.
dependencies:
- git
suggests:
- ansible
2018-03-14 20:26:52 +01:00
# install binary in /usr/bin
bindir: /usr/bin
release:
# Do not auto publish release
draft: true
name_template: "{{.Tag}}"