2020-08-01 20:20:02 +00:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
2020-08-01 23:36:27 +00:00
|
|
|
project_name: jfa-go
|
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: hrfee
|
|
|
|
name: jfa-go
|
2020-08-02 01:11:50 +00:00
|
|
|
name_template: "v{{.Version}}"
|
2020-08-01 20:20:02 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
# You may remove this if you don't use go modules.
|
|
|
|
- go mod download
|
2020-08-01 23:36:27 +00:00
|
|
|
- python3 config/fixconfig.py -i config/config-base.json -o data/config-base.json
|
|
|
|
- python3 config/generate_ini.py -i config/config-base.json -o data/config-default.ini
|
|
|
|
- python3 -m pip install libsass
|
2020-08-01 20:20:02 +00:00
|
|
|
- python3 scss/get_node_deps.py
|
|
|
|
- python3 scss/compile.py
|
|
|
|
- python3 mail/generate.py
|
|
|
|
builds:
|
2020-08-01 23:36:27 +00:00
|
|
|
- dir: ./
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
2020-08-01 20:20:02 +00:00
|
|
|
archives:
|
2020-08-01 23:36:27 +00:00
|
|
|
- replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
files:
|
|
|
|
- data/*
|
2020-08-01 20:20:02 +00:00
|
|
|
checksum:
|
2020-08-01 23:36:27 +00:00
|
|
|
name_template: 'checksums.txt'
|
2020-08-01 20:20:02 +00:00
|
|
|
snapshot:
|
2020-08-02 01:11:50 +00:00
|
|
|
name_template: "{{ .Tag }}-testing"
|
2020-08-01 20:20:02 +00:00
|
|
|
changelog:
|
2020-08-01 23:36:27 +00:00
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|