version: 2 project_name: edge-connect-client release: github: owner: DevFW-CICD name: edge-connect-client name_template: '{{.Tag}}' builds: - id: edge-connect-client goos: - linux - darwin - windows goarch: - amd64 - arm64 goamd64: - v1 go386: - sse2 goarm: - "6" goarm64: - v8.0 gomips: - hardfloat goppc64: - power8 goriscv64: - rva20u64 targets: - linux_amd64_v1 - linux_arm64_v8.0 - darwin_amd64_v1 - darwin_arm64_v8.0 - windows_amd64_v1 - windows_arm64_v8.0 dir: . main: . binary: edge-connect-client builder: go tool: go command: build ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser env: - CGO_ENABLED=0 archives: - id: default builds_info: mode: 493 name_template: '{{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}' formats: - tar.gz format_overrides: - goos: windows formats: - zip files: - src: license* - src: LICENSE* - src: readme* - src: README* - src: changelog* - src: CHANGELOG* snapshot: version_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}' checksum: name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' algorithm: sha256 docker_digest: name_template: digests.txt changelog: filters: exclude: - '^docs:' - '^test:' sort: asc format: '{{.SHA}}: {{.Message}}' groups: - title: Features regexp: ^.*?feat(\([[:word:]]+\))??!?:.+$ - title: Bug fixes regexp: ^.*?fix(\([[:word:]]+\))??!?:.+$ order: 1 - title: Chores regexp: ^.*?chore(\([[:word:]]+\))??!?:.+$ order: 2 - title: Others order: 999 abbrev: 10 dist: dist env_files: github_token: ~/.config/goreleaser/github_token gitlab_token: ~/.config/goreleaser/gitlab_token gitea_token: ~/.config/goreleaser/gitea_token before: hooks: - go mod tidy - go generate ./... source: name_template: '{{ .ProjectName }}-{{ .Version }}' format: tar.gz gomod: gobinary: go announce: twitter: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' mastodon: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' server: "" reddit: title_template: '{{ .ProjectName }} {{ .Tag }} is out!' url_template: '{{ .ReleaseURL }}' slack: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' username: GoReleaser discord: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' author: GoReleaser color: "3888754" icon_url: https://goreleaser.com/static/avatar.png teams: title_template: '{{ .ProjectName }} {{ .Tag }} is out!' message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' color: '#2D313E' icon_url: https://goreleaser.com/static/avatar.png smtp: subject_template: '{{ .ProjectName }} {{ .Tag }} is out!' body_template: 'You can view details from: {{ .ReleaseURL }}' mattermost: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' title_template: '{{ .ProjectName }} {{ .Tag }} is out!' username: GoReleaser linkedin: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' telegram: message_template: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out{{ mdv2escape "!" }} Check it out at {{ mdv2escape .ReleaseURL }}' parse_mode: MarkdownV2 webhook: message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}' content_type: application/json; charset=utf-8 expected_status_codes: - 200 - 201 - 202 - 204 opencollective: title_template: '{{ .Tag }}' message_template: '{{ .ProjectName }} {{ .Tag }} is out!
Check it out at {{ .ReleaseURL }}' bluesky: message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}' git: tag_sort: -version:refname github_urls: download: https://github.com gitlab_urls: download: https://gitlab.com