# Copyright 2023 wanderer # SPDX-License-Identifier: GPL-3.0-or-later --- project_name: pcmt git: prerelease_suffix: "-rc" archives: # - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}' - name_template: '{{ .ProjectName }}_v{{ .Version }}' meta: true files: - README.md - LICENSE - exampleConfig.dhall before: hooks: - go generate . - go mod tidy builds: - env: [CGO_ENABLED=0] goamd64: - v2 flags: - -trimpath goarch: - amd64 - arm64 goos: - linux - freebsd ldflags: - -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} mod_timestamp: '{{ .CommitTimestamp }}' release: disable: false draft: false prerelease: true skip_upload: false extra_files: - glob: ./README.md - glob: ./LICENSE - glob: ./exampleConfig.dhall mode: replace gitea: owner: mirre-mt name: pcmt sboms: - artifacts: binary snapshot: # Default is `{{ .Version }}-SNAPSHOT-{{.ShortCommit}}`. Templates: allowed. name_template: '{{ incpatch .Version }}_pre-g{{.ShortCommit}}-dev' checksum: name_template: "{{ .ProjectName }}_{{ .Version }}_SHA512SUMS.txt" algorithm: sha512 changelog: use: git sort: asc gitea_urls: api: https://git.dotya.ml/api/v1 download: https://git.dotya.ml