moneyforward/.goreleaser.yml

79 lines
1.3 KiB
YAML
Raw Normal View History

version: 2
2024-08-11 05:16:21 +00:00
before:
hooks:
- sudo apt update
2024-08-11 05:16:21 +00:00
- sudo apt install rpm
- go mod tidy
2024-08-11 05:16:21 +00:00
- go mod download
- go generate ./...
2024-08-11 05:16:21 +00:00
builds:
- env:
- CGO_ENABLED=0
2024-08-11 05:16:21 +00:00
flags:
- -trimpath
goos:
- linux
- windows
goarch:
- amd64
archives:
- format: zip
2024-08-11 05:16:21 +00:00
nfpms:
-
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# Default is empty.
vendor: Kazuhiro MUSASHI
# Your app's homepage.
# Default is empty.
homepage: https://blog.kazu634.com/
2024-08-11 05:16:21 +00:00
# Your app's maintainer (probably you).
# Default is empty.
maintainer: Kazuhiro Musashi <simoom634@yahoo.co.jp>
# Formats to be generated:
formats:
- deb
- rpm
release:
gitea:
owner: kazu634
name: moneyforward
disable: false
mode: append
2024-08-11 05:16:21 +00:00
gitea_urls:
api: https://gitea.kazu634.com/api/v1/
download: https://gitea.kazu634.com
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
2024-08-11 05:16:21 +00:00
dockers:
-
image_templates:
- reg.kazu634.com/kazu634/{{ .ProjectName }}:{{ .Tag }}
- reg.kazu634.com/kazu634/{{ .ProjectName }}:latest
2024-08-11 05:16:21 +00:00
goos: linux
goarch: amd64
dockerfile: Dockerfile
skip_push: false
2024-08-11 05:16:21 +00:00
push_flags:
- --tls-verify=false