mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-10 07:48:06 -06:00
- github.com/KimMachineGun/automemlimit v0.7.2 => v0.7.3
- github.com/gin-contrib/cors v1.7.5 => v1.7.6
- github.com/minio/minio-go/v7 v7.0.92 => v7.0.94
- github.com/spf13/cast v1.8.0 => v1.9.2
- github.com/uptrace/bun{,/*} v1.2.11 => v1.2.14
- golang.org/x/image v0.27.0 => v0.28.0
- golang.org/x/net v0.40.0 => v0.41.0
- code.superseriousbusiness.org/go-swagger v0.31.0-gts-go1.23-fix => v0.32.3-gts-go1.23-fix
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4304
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
127 lines
2.6 KiB
YAML
127 lines
2.6 KiB
YAML
version: 2
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
- go fmt ./...
|
|
- go test ./...
|
|
builds:
|
|
- id: tomll
|
|
main: ./cmd/tomll
|
|
binary: tomll
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_arm
|
|
- linux_riscv64
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- id: tomljson
|
|
main: ./cmd/tomljson
|
|
binary: tomljson
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_arm
|
|
- linux_riscv64
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- id: jsontoml
|
|
main: ./cmd/jsontoml
|
|
binary: jsontoml
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_riscv64
|
|
- linux_arm
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
universal_binaries:
|
|
- id: tomll
|
|
replace: true
|
|
name_template: tomll
|
|
- id: tomljson
|
|
replace: true
|
|
name_template: tomljson
|
|
- id: jsontoml
|
|
replace: true
|
|
name_template: jsontoml
|
|
archives:
|
|
- id: jsontoml
|
|
format: tar.xz
|
|
builds:
|
|
- jsontoml
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
- id: tomljson
|
|
format: tar.xz
|
|
builds:
|
|
- tomljson
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
- id: tomll
|
|
format: tar.xz
|
|
builds:
|
|
- tomll
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
dockers:
|
|
- id: tools
|
|
goos: linux
|
|
goarch: amd64
|
|
ids:
|
|
- jsontoml
|
|
- tomljson
|
|
- tomll
|
|
image_templates:
|
|
- "ghcr.io/pelletier/go-toml:latest"
|
|
- "ghcr.io/pelletier/go-toml:{{ .Tag }}"
|
|
- "ghcr.io/pelletier/go-toml:v{{ .Major }}"
|
|
skip_push: false
|
|
checksum:
|
|
name_template: 'sha256sums.txt'
|
|
snapshot:
|
|
version_template: "{{ incpatch .Version }}-next"
|
|
release:
|
|
github:
|
|
owner: pelletier
|
|
name: go-toml
|
|
draft: true
|
|
prerelease: auto
|
|
mode: replace
|
|
changelog:
|
|
use: github-native
|
|
announce:
|
|
skip: true
|