mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-15 23:00:10 +00:00
Harvey Tindall
252e13757b
disabling this because building for darwin/386 is no longer available and goreleaser hasn't picked up on this yet, i believe.
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
# This is an example goreleaser.yaml file with some sane defaults.
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
project_name: jfa-go
|
|
release:
|
|
github:
|
|
owner: hrfee
|
|
name: jfa-go
|
|
name_template: "v{{.Version}}"
|
|
before:
|
|
hooks:
|
|
# You may remove this if you don't use go modules.
|
|
- go mod download
|
|
- 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
|
|
- python3 scss/get_node_deps.py
|
|
- python3 scss/compile.py -y
|
|
- python3 mail/generate.py -y
|
|
builds:
|
|
- dir: ./
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
archives:
|
|
- replacements:
|
|
darwin: Darwin
|
|
linux: Linux
|
|
windows: Windows
|
|
amd64: x86_64
|
|
files:
|
|
- data/*
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-testing"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|