Semaphore/.goreleaser.yml

73 lines
1.5 KiB
YAML
Raw Permalink Normal View History

dist: bin
2024-04-20 18:06:26 +02:00
before:
hooks:
- task build:fe
2021-06-25 10:53:50 +02:00
builds:
- binary: semaphore
2023-03-11 09:40:34 +01:00
env:
- CGO_ENABLED=0
main: ./cli/main.go
ldflags: -s -w -X github.com/ansible-semaphore/semaphore/util.Ver={{ .Version }} -X github.com/ansible-semaphore/semaphore/util.Commit={{ .ShortCommit }} -X github.com/ansible-semaphore/semaphore/util.Date={{ .Timestamp }}
tags:
- netgo
goos:
- windows
- darwin
- linux
2022-03-30 12:28:20 +02:00
- freebsd
goarch:
2024-04-27 23:38:26 +02:00
- 386
- amd64
- arm
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: 386
2024-04-27 23:38:26 +02:00
- goos: darwin
goarch: arm
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
archives:
- files:
- LICENSE
format_overrides:
- goos: windows
format: zip
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}"]
snapshot:
name_template: "{{ .Timestamp }}-{{ .ShortCommit }}-SNAPSHOT"
nfpms:
- file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
description: Open Source alternative to Ansible Tower
homepage: https://github.com/semaphoreui/semaphore
vendor: Semaphore UI
2024-04-27 23:19:40 +02:00
maintainer: Semaphore UI <support@semui.co>
license: MIT
formats:
- deb
- rpm
dependencies:
- git
suggests:
- ansible
2018-03-14 20:26:52 +01:00
bindir: /usr/bin
release:
draft: true
name_template: "{{.Tag}}"