Switching to release
Some checks failed
Build and Release / release (push) Failing after 10s

This commit is contained in:
Leon Mika 2025-06-01 10:21:51 +10:00
parent fe5d00730b
commit a1fb290b9c

View file

@ -1,8 +1,5 @@
version: 2
project:
name: send2gokapi
builds:
- id: send2gokapi
goos: [linux, darwin]
@ -13,21 +10,24 @@ builds:
- CGO_ENABLED=0
archives:
- id: default
builds: [send2gokapi]
format: tar.gz
- ids: [send2gokapi]
formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE.txt
- README.md
release:
disable: true # We won't create GitHub/Gitea releases directly
gitea:
owner: user
name: repo
ids:
- default
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz"
mode: keep-existing
blobs:
- provider: generic
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz"
path: dist/*
url_template: https://lmika.dev/api/packages/cmd/generic/{{ .ProjectName }}/{{ .Version }}/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz
username: "${FORGEJO_USERNAME}"
password: "${FORGEJO_TOKEN}"
gitlab_urls:
api: https://lmika.dev/api/v4/
download: https://lmika.dev
use_job_token: true