project_name: casaos-user-service release: github: owner: IceWhaleTech name: CasaOS-UserService draft: true prerelease: auto name_template: v{{ .Version }} mode: replace builds: - id: casaos-user-service-amd64 goos: - linux goarch: - amd64 goarm: - "6" gomips: - hardfloat goamd64: - v1 targets: - linux_amd64_v1 dir: . main: . binary: build/sysroot/usr/bin/casaos-user-service builder: go gobinary: go command: build ldflags: - -extldflags "-static" tags: - musl - netgo - osusergo gcflags: - all=-N -l env: - CC=x86_64-linux-gnu-gcc archives: - id: casaos-user-service builds: - casaos-user-service-amd64 - casaos-user-service-arm64 - casaos-user-service-arm-7 name_template: '{{ .Os }}-{{ .Arch }}-{{ .ProjectName }}-v{{ .Version }}' format: tar.gz files: - src: build/**/* - id: casaos-user-service-migration-tool builds: - casaos-user-service-migration-tool-amd64 - casaos-user-service-migration-tool-arm64 - casaos-user-service-migration-tool-arm-7 name_template: '{{ .Os }}-{{ .Arch }}-{{ .ProjectName }}-migration-tool-v{{ .Version }}' format: tar.gz files: - src: build/sysroot/etc/**/* snapshot: name_template: '{{ incpatch .Version }}' checksum: name_template: checksums.txt algorithm: sha256 changelog: filters: exclude: - '^docs:' - '^test:' sort: asc 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 generate - go run github.com/google/go-licenses@latest check . --disallowed_types=restricted - go mod tidy - go test -race -v ./... 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: '{{ .ProjectName }} {{ mdv2escape .Tag }} is out! 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 opencollective: title_template: '{{ .Tag }}' 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