version: 2 before: hooks: - go mod tidy -v builds: - id: linux binary: teleport main: ./cmd/teleport ldflags: - -s - -w - -extldflags "-static" - -X teleport/pkg/version.Version={{.Version}} - -X teleport/pkg/version.GitCommit={{.FullCommit}} - -X teleport/pkg/version.BuildDate={{.Date}} env: - CGO_ENABLED=0 goos: - linux goarch: - amd64 - arm64 - id: windows binary: teleport main: ./cmd/teleport ldflags: - -s - -w - -extldflags "-static" - -X teleport/pkg/version.Version={{.Version}} - -X teleport/pkg/version.GitCommit={{.FullCommit}} - -X teleport/pkg/version.BuildDate={{.Date}} - -H windowsgui env: - CGO_ENABLED=0 goos: - windows goarch: - amd64 - id: windows-console binary: teleport-console main: ./cmd/teleport ldflags: - -s - -w - -extldflags "-static" - -X teleport/pkg/version.Version={{.Version}} - -X teleport/pkg/version.GitCommit={{.FullCommit}} - -X teleport/pkg/version.BuildDate={{.Date}} env: - CGO_ENABLED=0 goos: - windows goarch: - amd64 checksum: name_template: "checksums.txt" archives: - id: default name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}" formats: tar.gz format_overrides: - goos: windows formats: zip files: - README.md - LICENSE builds: - linux - windows - windows-console allow_different_binary_count: true changelog: sort: asc filters: exclude: - "^docs:" - "^test:" release: name_template: "{{ .ProjectName }}-{{ .Version }}" gitea_urls: api: https://git.s1d3sw1ped.com/api/v1 download: https://git.s1d3sw1ped.com