podman
1before:2hooks:3- go mod tidy4- go fmt ./...5- go test ./...6builds:7- id: tomll8main: ./cmd/tomll9binary: tomll10env:11- CGO_ENABLED=012flags:13- -trimpath14ldflags:15- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}16mod_timestamp: '{{ .CommitTimestamp }}'17targets:18- linux_amd6419- linux_arm6420- linux_arm21- windows_amd6422- windows_arm6423- windows_arm24- darwin_amd6425- darwin_arm6426- id: tomljson27main: ./cmd/tomljson28binary: tomljson29env:30- CGO_ENABLED=031flags:32- -trimpath33ldflags:34- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}35mod_timestamp: '{{ .CommitTimestamp }}'36targets:37- linux_amd6438- linux_arm6439- linux_arm40- windows_amd6441- windows_arm6442- windows_arm43- darwin_amd6444- darwin_arm6445- id: jsontoml46main: ./cmd/jsontoml47binary: jsontoml48env:49- CGO_ENABLED=050flags:51- -trimpath52ldflags:53- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}54mod_timestamp: '{{ .CommitTimestamp }}'55targets:56- linux_amd6457- linux_arm6458- linux_arm59- windows_amd6460- windows_arm6461- windows_arm62- darwin_amd6463- darwin_arm6464universal_binaries:65- id: tomll66replace: true67name_template: tomll68- id: tomljson69replace: true70name_template: tomljson71- id: jsontoml72replace: true73name_template: jsontoml74archives:75- id: jsontoml76format: tar.xz77builds:78- jsontoml79files:80- none*81name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"82- id: tomljson83format: tar.xz84builds:85- tomljson86files:87- none*88name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"89- id: tomll90format: tar.xz91builds:92- tomll93files:94- none*95name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"96dockers:97- id: tools98goos: linux99goarch: amd64100ids:101- jsontoml102- tomljson103- tomll104image_templates:105- "ghcr.io/pelletier/go-toml:latest"106- "ghcr.io/pelletier/go-toml:{{ .Tag }}"107- "ghcr.io/pelletier/go-toml:v{{ .Major }}"108skip_push: false109checksum:110name_template: 'sha256sums.txt'111snapshot:112name_template: "{{ incpatch .Version }}-next"113release:114github:115owner: pelletier116name: go-toml117draft: true118prerelease: auto119mode: replace120changelog:121use: github-native122announce:123skip: true124