mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 10:16:15 +00:00
85b81e661c
- add version to public/admin config responses - inject build version in Docker and GoReleaser builds - limit Docker image publishing to v* tags - restore soft-deleted settings on upsert
63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
version: 2
|
|
|
|
project_name: epusdt
|
|
|
|
before:
|
|
hooks:
|
|
- go test ./...
|
|
|
|
builds:
|
|
- id: epusdt
|
|
main: .
|
|
binary: epusdt
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w -X github.com/GMWalletApp/epusdt/config.BuildVersion={{ .Tag }} -X github.com/GMWalletApp/epusdt/config.BuildCommit={{ .Commit }} -X github.com/GMWalletApp/epusdt/config.BuildDate={{ .Date }}
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
- id: epusdt
|
|
ids:
|
|
- epusdt
|
|
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
files:
|
|
- .env.example
|
|
- static/**
|
|
format_overrides:
|
|
- goos: windows
|
|
formats:
|
|
- zip
|
|
|
|
checksum:
|
|
name_template: "SHA256SUMS"
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
release:
|
|
github:
|
|
owner: GMwalletApp
|
|
name: epusdt
|
|
prerelease: auto
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
- "^chore:"
|
|
- "^ci:"
|
|
- "^fix\\(ci\\):"
|
|
- "^build\\(release\\):"
|
|
- "^Merge pull request"
|