Files
uberbringer/.goreleaser.yaml
57_Wolve 97d2a892f0
All checks were successful
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Successful in 2m31s
Update .goreleaser.yaml
2025-01-13 01:58:44 +00:00

63 lines
1.8 KiB
YAML

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:
# You may remove this if you don't use go modules.
#- go mod download
- go mod tidy
#- go mod vendor
# you may remove this if you don't need go generate
- go generate
builds:
-
id: uberbringer
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
main: ./uberbringer.go
binary: uberbringer
ldflags:
- -w -X uberbringer/config.Version={{.Version}} -X uberbringer/config.Build={{.ShortCommit}} -X uberbringer/config.SentryDSN=https://70209de06de24662a0f43b47a99de86b@sentry.alphacentri.com/2
archives:
-
# Can be used to change the archive formats for specific GOOSs.
# Most common use case is to archive as zip on Windows.
# Default is empty.
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
format: 'tar'
format_overrides:
- goos: windows
format: zip
source:
enabled: true
name_template: '{{ .ProjectName }}_{{ .Version }}'
checksum:
name_template: 'checksums.txt'
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
# Note: it can only be one: either github, gitlab or gitea
gitea:
owner: 57_Wolve
name: uberbringer
draft: false
scoop:
url_template: "https://git.anomalous.dev/57_Wolve/uberbringer/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: 57_Wolve
email: william.gill@anomalous.dev