47 lines
936 B
YAML
47 lines
936 B
YAML
|
before:
|
||
|
hooks:
|
||
|
- go mod tidy
|
||
|
builds:
|
||
|
- id: lure-updater
|
||
|
env:
|
||
|
- CGO_ENABLED=0
|
||
|
binary: lure-updater
|
||
|
goos:
|
||
|
- linux
|
||
|
goarch:
|
||
|
- amd64
|
||
|
- 386
|
||
|
- arm64
|
||
|
- arm
|
||
|
archives:
|
||
|
- id: archive
|
||
|
name_template: >-
|
||
|
{{ .ProjectName }}_
|
||
|
{{- if eq .Arch "amd64" }}x86_64
|
||
|
{{- else if eq .Arch "arm64"}}aarch64
|
||
|
{{- else if eq .Arch "386" }}i386
|
||
|
{{- else }}{{ .Arch }}{{ end }}
|
||
|
files:
|
||
|
- lure-updater.example.toml
|
||
|
blobs:
|
||
|
- provider: s3
|
||
|
endpoint: https://api.minio.elara.ws
|
||
|
region: default
|
||
|
bucket: lure-updater
|
||
|
ids:
|
||
|
- archive
|
||
|
folder: "/"
|
||
|
release:
|
||
|
gitea:
|
||
|
owner: Elara6331
|
||
|
name: lure-updater
|
||
|
gitea_urls:
|
||
|
api: 'https://gitea.elara.ws/api/v1/'
|
||
|
download: 'https://gitea.elara.ws'
|
||
|
skip_tls_verify: false
|
||
|
checksum:
|
||
|
name_template: 'checksums.txt'
|
||
|
snapshot:
|
||
|
name_template: "{{ incpatch .Version }}-next"
|
||
|
changelog:
|
||
|
sort: asc
|