fix: next one
Some checks failed
Go CI Pipeline / ci (push) Has been cancelled
Release Builds / GoReleaser build (push) Failing after 1m2s

This commit is contained in:
Patryk Hegenberg 2025-06-04 16:02:08 +02:00
parent 9a67429b45
commit bb75925d1f
2 changed files with 56 additions and 0 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
work-config.toml
# Added by goreleaser init:
dist/

54
.goreleaser.yaml Normal file
View file

@ -0,0 +1,54 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
env_files:
gitlab_token: ~/nope
github_token: ~/nope
force_token: "gitea"
archives:
- formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
formats: [zip]
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).