Different config for gitea in .goreleaser.yml

This commit is contained in:
Reza Behzadan 2024-02-15 18:55:53 +03:30
parent 15a0ca3224
commit 1fda61192f

View File

@ -11,6 +11,9 @@ builds:
- amd64 - amd64
- arm64 - arm64
gitea_urls:
api: https://git.behzadan.ir/api/v1/
# If you want to push the release to GitHub, configure the GitHub section. # If you want to push the release to GitHub, configure the GitHub section.
# You'll need a GitHub token with repo access stored in your environment as GITHUB_TOKEN. # You'll need a GitHub token with repo access stored in your environment as GITHUB_TOKEN.
release: release:
@ -20,8 +23,6 @@ release:
gitea: gitea:
owner: p owner: p
name: minitmpl name: minitmpl
url: https://git.behzadan.ir
token: "{{ .Env.GITEA_TOKEN }}" # Use the GITEA_TOKEN environment variable
# If you want to create archives (tar.gz for Linux/Darwin, zip for Windows) # If you want to create archives (tar.gz for Linux/Darwin, zip for Windows)
archives: archives: