2018-03-13 21:57:55 +01:00
|
|
|
# Goreleaser configuration
|
|
|
|
# for building binaries and packages for distributions and releasing on github
|
|
|
|
dist: bin
|
|
|
|
|
|
|
|
git:
|
|
|
|
short_hash: true
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- binary: semaphore
|
|
|
|
main: ./cli/main.go
|
|
|
|
goos:
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- freebsd
|
|
|
|
- openbsd
|
|
|
|
- netbsd
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: 386
|
|
|
|
hooks:
|
|
|
|
pre: task compile
|
|
|
|
|
|
|
|
archive:
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
|
2018-04-07 00:50:17 +02:00
|
|
|
sign:
|
|
|
|
artifacts: checksum
|
|
|
|
# gpg --sign -u "9B25 8A9C 32B9 7E50 E753 3575 DE95 8D8F 20C7 845F" --pinentry-mode loopback --yes --batch --passphrase "${GPG_PASS}" --output ${signature} --detach-sign "${artifact}"
|
|
|
|
args: ["-u", "9B25 8A9C 32B9 7E50 E753 3575 DE95 8D8F 20C7 845F", "--pinentry-mode", "loopback", "--yes", "--batch", "--output", "${signature}", "--detach-sign", "${artifact}"]
|
2018-03-13 21:57:55 +01:00
|
|
|
|
|
|
|
# Start the snapshot name with a numerical value
|
|
|
|
# so it does not need to be force installed
|
|
|
|
snapshot:
|
2018-04-07 00:50:17 +02:00
|
|
|
name_template: "{{ .Timestamp }}-{{ .Commit }}-SNAPSHOT"
|
2018-03-13 21:57:55 +01:00
|
|
|
|
|
|
|
nfpm:
|
|
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
|
|
|
|
|
|
vendor: Castaway Consulting LLC
|
|
|
|
homepage: https://github.com/ansible-semaphore/semaphore
|
2018-05-07 12:11:20 +02:00
|
|
|
maintainer: Castaway Consulting LLC <support@castawaylabs.com>
|
2018-03-13 21:57:55 +01:00
|
|
|
description: Open Source alternative to Ansible Tower
|
|
|
|
license: MIT
|
|
|
|
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|
|
|
|
|
|
|
|
# Packages your package depends on.
|
|
|
|
dependencies:
|
|
|
|
- git
|
|
|
|
|
2018-03-14 20:26:52 +01:00
|
|
|
suggests:
|
|
|
|
- ansible
|
|
|
|
|
2018-03-13 21:57:55 +01:00
|
|
|
# install binary in /usr/bin
|
|
|
|
bindir: /usr/bin
|
|
|
|
|
|
|
|
release:
|
|
|
|
# Do not auto publish release
|
|
|
|
draft: true
|
|
|
|
name_template: "{{.Tag}}"
|