version: 2 project_name: uberbringer force_token: gitea gitea_urls: api: https://git.anomalous.dev/api/v1 download: https://git.anomalous.dev/ skip_tls_verify: false before: hooks: - go mod tidy builds: - id: uberbringer main: ./cmd/uberbringer binary: uberbringer env: - CGO_ENABLED=0 flags: - -trimpath goos: - linux goarch: - amd64 - arm - arm64 goarm: - "6" - "7" ldflags: # SENTRY_DSN comes from a CI secret; when unset, binaries report # nothing unless sentry.dsn or the SENTRY_DSN env var is configured. - -s -w -X main.version={{ .Version }} -X main.commit={{ .ShortCommit }} -X main.sentryDSN={{ index .Env "SENTRY_DSN" }} archives: - formats: [tar] name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" source: enabled: true name_template: "{{ .ProjectName }}_{{ .Version }}" checksum: name_template: checksums.txt release: gitea: owner: 57_Wolve name: uberbringer draft: false