mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-13 22:00:10 +00:00
Harvey Tindall
fa96f21429
there were a bunch of problems, namely using the jfa-go host address instead of that of the smtp server in smtp.PlainAuth. For #15.
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
project_name: jfa-go
|
|
release:
|
|
github:
|
|
owner: hrfee
|
|
name: jfa-go
|
|
name_template: "v{{.Version}}"
|
|
before:
|
|
hooks:
|
|
- 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
|
|
- npm install
|
|
- python3 scss/compile.py
|
|
- python3 mail/generate.py
|
|
- python3 version.py {{.Version}} version.go
|
|
- bash -c 'npx esbuild ts/*.ts ts/modules/*.ts --outdir=data/static --minify'
|
|
- go get -u github.com/swaggo/swag/cmd/swag
|
|
- swag init -g main.go
|
|
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/*
|
|
- data/templates/*
|
|
- data/static/*
|
|
- data/static/modules/*
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "git-{{.ShortCommit}}"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|