CI: add gitea urls
This commit is contained in:
parent
14e230985a
commit
5e4a8c3799
@ -1,8 +1,10 @@
|
|||||||
# This is an example .goreleaser.yml file with some sensible defaults.
|
gitea_urls:
|
||||||
# Make sure to check the documentation at https://goreleaser.com
|
api: https://gitea.asdf.cafe/api/v1
|
||||||
|
download: https://gitea.asdf.cafe
|
||||||
|
skip_tls_verify: false
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# You may remove this if you don't use go modules.
|
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
@ -18,7 +20,6 @@ builds:
|
|||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
# this name template makes the OS and Arch compatible with the results of uname.
|
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
{{ .ProjectName }}_
|
||||||
{{- title .Os }}_
|
{{- title .Os }}_
|
||||||
@ -26,7 +27,6 @@ archives:
|
|||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
# use zip for windows archives
|
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
Loading…
Reference in New Issue
Block a user